The ability to use expressions in seed/demo data would be a nice feature.
-Adrian
On 1/1/2012 7:59 PM, Jacopo Cappellato wrote:
Hi Jacques,
the failure could be related to the year switch... this happens every year and
it needs some updates to demo fiscal periods to fix; or you could try with a
patch like:
Index: applications/accounting/data/DemoGlSetupData.xml
===================================================================
--- applications/accounting/data/DemoGlSetupData.xml (revision 1226294)
+++ applications/accounting/data/DemoGlSetupData.xml (working copy)
@@ -398,7 +398,7 @@
<CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6012" periodTypeId="FISCAL_QUARTER" fromDate="2010-04-01"
thruDate="2010-07-01" isClosed="N" periodNum="3" periodName="2010/Q2" parentPeriodId="6010"/>
<CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6013" periodTypeId="FISCAL_QUARTER" fromDate="2010-07-01"
thruDate="2010-10-01" isClosed="N" periodNum="4" periodName="2010/Q3" parentPeriodId="6010"/>
<CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6014" periodTypeId="FISCAL_QUARTER" fromDate="2010-10-01"
thruDate="2011-01-01" isClosed="N" periodNum="5" periodName="2010/Q4" parentPeriodId="6010"/>
-<CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6015" periodTypeId="FISCAL_YEAR"
fromDate="2011-01-01" thruDate="2012-01-01" isClosed="N" periodNum="1" periodName="2011"/>
+<CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6015" periodTypeId="FISCAL_YEAR"
fromDate="2011-01-01" thruDate="2020-01-01" isClosed="N" periodNum="1" periodName="2011"/>
<CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6016" periodTypeId="FISCAL_QUARTER" fromDate="2011-01-01"
thruDate="2011-04-01" isClosed="N" periodNum="2" periodName="2011/Q1" parentPeriodId="6015"/>
<CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6017" periodTypeId="FISCAL_QUARTER" fromDate="2011-04-01"
thruDate="2011-07-01" isClosed="N" periodNum="3" periodName="2011/Q2" parentPeriodId="6015"/>
<CustomTimePeriod organizationPartyId="Company" customTimePeriodId="6018" periodTypeId="FISCAL_QUARTER" fromDate="2011-07-01"
thruDate="2011-10-01" isClosed="N" periodNum="4" periodName="2011/Q3" parentPeriodId="6015"/>
that should fix the issue once for all... but I didn't test it yet and so there
may be other changes required; but if you are looking into the issue it may be
useful, if not I will review the issue tomorrow.
Kind regards
Jacopo
On Jan 1, 2012, at 12:31 PM, Jacques Le Roux wrote:
It's only 4 BigDecimal comparaisons issues in tests, I'm looking at it...
Jacques
From:<build...@apache.org>
The Buildbot has detected a new failure on builder ofbiz-trunk while building
ASF Buildbot.
Full details are available at:
http://ci.apache.org/builders/ofbiz-trunk/builds/2460
Buildbot URL: http://ci.apache.org/
Buildslave for this Build: isis_ubuntu
Build Reason: scheduler
Build Source Stamp: [branch ofbiz/trunk] 1226223
Blamelist: jleroux
BUILD FAILED: failed compile_1
sincerely,
-The Buildbot