export.database.launch
author Antonio Moreno <antonio.moreno@openbravo.com>
Thu, 26 Apr 2012 17:29:26 +0200
changeset 16512 46f6c549a415
parent 1550 f84e3b62bd71
permissions -rw-r--r--
Fixed issue 20352. Do not remove an invalid value from the selector.
Reverted change done in changeset bcbda0ffe5d8. This change was causing the following behaviour to happen:
- When a field is used as part of a displaylogic of a different field, a redraw of the window will be done in case the selector value happens.
- This redraw will cause a call to the mapValueToDisplay method.
- If the user is typing the name of the business partner, the value will not be one of the valid business partner names (yet).
- With the previous version of the method, the value was then discarded. This produced the very annoying effect of reverting what the user had typed just after he had done it, if he hadn't been 'fast enough' to type the whole identifier of the business partner.
With the change done, the selector will not be cleared if a user types a (not yet completely correct) value in the selector, even if there is a valueMap which doesn't contain what the user has typed.
The issue which was supposedly fixed with this part of the mentioned changeset (issue 19724) still works fine as far as I can tell, even after having removed this part of the change.
rafael@1550
     1
<?xml version="1.0" encoding="UTF-8"?>
rafael@1550
     2
<launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
rafael@1550
     3
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
rafael@1550
     4
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
rafael@1550
     5
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
rafael@1550
     6
<listEntry value="1"/>
rafael@1550
     7
</listAttribute>
rafael@1550
     8
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
rafael@1550
     9
<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
rafael@1550
    10
</listAttribute>
rafael@1550
    11
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/openbravo}"/>
rafael@1550
    12
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
rafael@1550
    13
<stringAttribute key="org.eclipse.ant.ui.ATTR_BUILD_SCOPE" value="${none}"/>
rafael@1550
    14
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
rafael@1550
    15
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_TARGETS" value="export.database,"/>
rafael@1550
    16
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
rafael@1550
    17
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="openbravo"/>
rafael@1550
    18
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
rafael@1550
    19
<listEntry value="/openbravo/build.xml"/>
rafael@1550
    20
</listAttribute>
rafael@1550
    21
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/openbravo/build.xml}"/>
rafael@1550
    22
</launchConfiguration>