.classpath.template
author Víctor Martínez Romanos <victor.martinez@openbravo.com>
Thu, 07 May 2015 12:11:39 +0200
changeset 26684 2311966afd7b
parent 24249 8051c8a30e72
child 26015 ede8f4f8a602
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.
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry exported="true" kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v6.0"/>
	<classpathentry exported="true" kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
	<classpathentry combineaccessrules="false" exported="true" kind="src" path="/OpenbravoTrl"/>
	<classpathentry combineaccessrules="false" exported="true" kind="src" path="/OpenbravoWAD"/>
	<classpathentry including="**/*.ext|**/*.ftl|**/*.java|**/*.oaw|**/*.properties|**/*.xml|**/*.xpt|**/*.xslt" kind="src" path="src"/>
	<classpathentry kind="src" path="modules/org.openbravo.client.widgets/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.client.htmlwidget/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.base.weld/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.client.querylist/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.advpaymentmngt/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.financial.paymentreport/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.reports.ordersawaitingdelivery/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.client.myob/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.client.kernel/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.service.json/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.client.application/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.userinterface.selector/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.userinterface.smartclient/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.service.datasource/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.service.integration.openid/src"/>
	<classpathentry kind="src" path="modules/org.openbravo.service.integration.google/src"/>
	<classpathentry including="quartz.properties" kind="src" path="config"/>
	<classpathentry kind="src" path="src-gen"/>
	<classpathentry including="**/*.java" kind="src" path="srcAD"/>
	<classpathentry including="**/*.java" kind="src" path="build/javasqlc/srcAD"/>
	<classpathentry including="**/*.java" kind="src" path="build/javasqlc/src"/>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
	<classpathentry kind="lib" path="lib/build/js.jar"/>
	<classpathentry kind="output" path="build/classes"/>
</classpath>