eclipse.compile.complete.launch
author Víctor Martínez Romanos <victor.martinez@openbravo.com>
Thu, 07 May 2015 12:11:39 +0200
changeset 26684 2311966afd7b
parent 13323 f5c1f04bb7ac
permissions -rw-r--r--
Fixed bug 29809: Impossible to create several calendars for the same organization

Two pieces of code were affected by this bug:
PeriodEventHandler.java: EntityPersistenceEventObserver in charge of checking overlap in manual inserts/updates (or any java process) in c_period table
C_YEARPERIODS: db function associated to the create periods process inside the Fiscal Calendar | Year tab. It also verifies the periods don't overlap other periods.

The fix consists in checking that there is no date overlap per calendar. Before this fix the calendar wasn't taken into account, so it was not possible to define several calendars for the same organization with the same periods.
salvador@13323
     1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
carlos@0
     2
<launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
salvador@13323
     3
<stringAttribute key="org.eclipse.ant.ui.ATTR_BUILD_SCOPE" value="${none}"/>
carlos@0
     4
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
salvador@13323
     5
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
salvador@13323
     6
<listEntry value="/openbravo/build.xml"/>
salvador@13323
     7
</listAttribute>
carlos@0
     8
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
carlos@0
     9
<listEntry value="1"/>
carlos@0
    10
</listAttribute>
salvador@13323
    11
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
carlos@0
    12
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
carlos@0
    13
<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
carlos@0
    14
</listAttribute>
salvador@13323
    15
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
salvador@13323
    16
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="openbravo"/>
salvador@13323
    17
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
salvador@13323
    18
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_TARGETS" value="eclipse.compile.complete,"/>
salvador@13323
    19
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/openbravo/build.xml}"/>
carlos@0
    20
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/openbravo}"/>
salvador@13323
    21
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
carlos@0
    22
</launchConfiguration>