Jacques Le Roux
6387735b0d
Changes module and method names
...
Uses | instead of & in compile mask options
Adds a comment about when to use or not
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542709 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 11:35:49 +00:00
Jacques Le Roux
950192c0d0
No functional change, just simplify code.
...
Also some trailing spaces removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542708 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 11:30:43 +00:00
Jacques Le Roux
8e7922a0c1
No functional change.
...
This did not make sense: the pattern was compiled and then the string compiled was retrieved.
Also removes 2 trailing blanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542704 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 10:53:42 +00:00
Adrian Crum
39eb2da06e
Small fixup for me previous commit - Perl5 pattern compiler needs to be told the patterns will be shared among threads.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542551 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 19:03:17 +00:00
Adrian Crum
dbc3a522fb
Created a PatternFactory class to replace the existing CompilerMatcher class.
...
https://issues.apache.org/jira/browse/OFBIZ-5395
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542544 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 18:30:08 +00:00
Jacques Le Roux
e465eceb75
No functional changes, updates a link in a comment
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542530 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 16:18:12 +00:00
Adrian Crum
ba484bafa6
Fixed a C&P error in the startup code.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542513 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 13:55:25 +00:00
Adrian Crum
0711522378
Fixed a bug in EntityDataLoadContainer.java - do not use System.exit, throw an exception instead. Also moved help text to the exception message because it was not being logged before shutdown.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542495 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 12:26:16 +00:00
Adrian Crum
fac4fd0c42
Elaborate on my previous comment.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542464 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 04:32:01 +00:00
Adrian Crum
b34da96480
FIXME comments, no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542463 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 04:21:39 +00:00
Adrian Crum
2d2a3fa96e
Replace DCL pattern with AtomicReference in JmsListenerFactory.
...
https://issues.apache.org/jira/browse/OFBIZ-4455
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542442 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 01:30:56 +00:00
Adrian Crum
e04471523b
Fixed a bug in the setSyncServiceParameters screen. Some service parameter data types would cause FreeMarker to throw an exception.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542388 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 20:42:37 +00:00
Adrian Crum
405e24943d
Fixed a C&P error in the updateGeo service definition.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542264 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 13:34:06 +00:00
Jacques Le Roux
cbe4b59e90
No functional changes
...
Adds a word about ant-tests: sometimes you need to clear your data before running 'load-demo'
Removes trailing blanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542261 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 13:27:16 +00:00
Paul Foxworthy
46392f7649
FORMATTING: Fix misspelling in comment
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542162 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 02:52:56 +00:00
Paul Foxworthy
1b3b7fffc2
Improved English wording of FacilityThereIsProblemOccurredInPaymentCapture message
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542161 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 02:51:25 +00:00
Jacques Le Roux
ddf898a735
This reverts r1541641 + 1541746
...
Local variables are always thread safe, no needs to worry about them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1541894 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 12:55:18 +00:00
Jacques Le Roux
d692b2df2c
Fix an issue introduced with r1541641, by finally using synchronized that I tried to avoid
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1541746 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 22:04:33 +00:00
Jacques Le Roux
e4529567c2
java.util.regex.Pattern instances are immutable but not instances of the Matcher companion class.
...
So better be safe than sorry, even if in the loops we loose a bit of performance (here only "short" loops anyway)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1541641 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 18:04:14 +00:00
Jacques Le Roux
90d37ce794
After my main external backup disk crashed, my main Eclipse workspace crashed also.
...
While rebuilding it, it seems I inadvertently pushed a OK button somewhere...
This reverts r1541470 and all pending stuff which should not have slipped in
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1541485 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 12:01:48 +00:00
Jacques Le Roux
d0bd4e8617
This was committed by error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1541470 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 11:07:04 +00:00
Jacopo Cappellato
68e5dfb959
Updated Apache POI to the latest version (3.9) and removed some unused (optional) POI jars.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1541119 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12 15:57:35 +00:00
Jacopo Cappellato
305a485953
Removed old and useless debug statements
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1540742 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 14:35:12 +00:00
Scott Gray
96eaab5b73
Remove null check (always yields false)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1540552 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 21:12:51 +00:00
Scott Gray
287cec6e55
Remove null comparison because jobV can't be null at the given location
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1540551 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 21:06:50 +00:00
Adrian Crum
2ccdb6b312
Fixed a bug in WebSiteProperties.java where host name defaults were not initialized properly. Also added a toString method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1540482 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 15:17:15 +00:00
Adrian Crum
7043dd0c6b
Fixed a bug introduced in rev 1534264 - unable to log into web applications that do not have a base-permission attribute.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1540475 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 14:02:47 +00:00
Jacques Le Roux
229d028435
Better French labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1540276 13f79535-47bb-0310-9956-ffa450edef68
2013-11-09 08:18:19 +00:00
Adrian Crum
bfe1317c16
Fixed broken ModelInduceFromDb.jsp file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1539781 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 19:44:41 +00:00
Jacques Le Roux
79115da1a8
This should fix the tests (reported by Hans on dev ML)
...
In r1538162, I used an already possessed inventoryItemId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1539690 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 15:45:06 +00:00
Scott Gray
338b68301b
global ECAs weren't honoring the run-as-user attribute defined on action elements
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1539645 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 14:06:54 +00:00
Adrian Crum
203ba5c608
Improved WebSiteProperties.java - better handling of missing values.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1539513 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 01:55:06 +00:00
Jacques Le Roux
f4cc2e053c
A patch from Christian Carlow for "Ship estimate does not appear on shipping options page of purchase order finalization screen" https://issues.apache.org/jira/browse/OFBIZ-OFBIZ-5388 - OFBIZ-5388
...
The ship estimate field of the shipping options page of the purchase order finalization screen is not populated with the itemShipGroupEstimate value.
To reproduce:
1. Create an purchase order to DemoSupplier for product
GZ-1000
2. Finalize the order and click continue until reaching the shipping options page
3. Set the Shipping Estimate Amount and click Continue
4. Click the "Options" link to navigate to the previous page and notice that the shipping estimate field is not set to the value submitted in the previous step
This patch sets the value of the shipping estimate field to the ship group estimate.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1539156 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 22:13:05 +00:00
Jacques Le Roux
6e16dd1472
A patch from Christian Carlow for "Additional ship group renderDateFields not created" https://issues.apache.org/jira/browse/OFBIZ-OFBIZ-5382 - OFBIZ-5382
...
ShipBeforeDate/ShipAfterDate fields are not created as renderDateFields for additional ship groups on orderview page.
The problem is that additional ship groups share the same id as the first ship group date fields. The javascript renderDateField logic requires unique ids the all fields that are supposed to be created by renderDateField.
To reproduce:
1. Create an order for DemoCustCompany
2. Add 10 GZ-BASKET products to the order and click "Finalize Order"
3. Add an additional ship group and click "Continue"
4. Assign 5 of GZ-BASKET to second ship group and click "Continue"
5. Complete the remaining steps required to complete the order
6. On the page after the "Create Order" link is clicked, notice the date fields of the second ship group were not rendered with a calendar.
This patch allows all ship group date fields to be rendered correctly by changing the renderDateField id field from "shipBeforeDate" to "shipBeforeDate_${shipGroup.shipGroupSeqId}" and the same for shipAfterDate
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1539147 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 21:58:46 +00:00
Jacques Le Roux
2434eae987
I could not resist to add the ASL2 license :)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1538162 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 09:53:34 +00:00
Jacques Le Roux
b2a7532b2f
I missed this change in r1538095
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1538161 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 09:40:00 +00:00
Jacques Le Roux
dc34f1c7c7
Fixes a bug I found in CheckInits.groovy while trying to create an new order from Order View screen
...
Fixes the same kind of bug in CheckoutOptions.groovy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1538096 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 00:07:10 +00:00
Jacques Le Roux
719181f929
Fixes (more a workaround for now) a bug I found after initializing the BI DB and trying to create a new order
...
While at it improves a French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1538095 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 23:56:49 +00:00
Jacques Le Roux
69d654c4ff
I was quite confused when at r1522664 I reverted those changes in ReportSreens
...
Slightly improves labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1538081 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 23:11:47 +00:00
Jacques Le Roux
4009a1f581
Fixes a bug reported by Eric Kingston at "Sales/Purchase Quote product id auto complete malfunction" https://issues.apache.org/jira/browse/OFBIZ-5379
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1537996 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 17:40:51 +00:00
Jacques Le Roux
9df4e6e492
Better French and English labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1537979 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 16:31:00 +00:00
Jacques Le Roux
9f59f8f0cc
A temporary workaround which removes "disabled-style="disabled" in the createOrder menu item condition (in ViewQuote)
...
The only effect is to remove the disabled item
This is due to r1517353 which introduced a NPE in MacroMenuRenderer.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1537833 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 06:14:09 +00:00
Hans Bakker
0b22680991
some errors left from the removal of the postgresqlnew data resource
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1537396 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 07:45:36 +00:00
Jacques Le Roux
cdb662dd0a
A patch from Christian Carlow for "Wrap error messages in StringUtil.wrapString() for framework/common/webcommon/includes/messages.ftl" https://issues.apache.org/jira/browse/OFBIZ-5376
...
Without wrapping error messages in StringUtil.wrapString() the <br/> element appears part of the error message.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1537179 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 17:11:21 +00:00
Jacopo Cappellato
4c6d49b735
Upgrade to the latest version of Groovy: 2.1.9
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1537086 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 13:43:08 +00:00
Jacopo Cappellato
a772a2be53
Misc cleanups to the old Search.groovy to make it more robust and clean.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1537083 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 13:37:58 +00:00
Jacopo Cappellato
b12aa93a12
Applied patch from OFBIZ-5359 that fixes an error in the computation of accounting quantity difference: thanks to Michael Ende for the contribution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1537023 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 09:54:45 +00:00
Jacques Le Roux
13d207693b
A modified patch from Gareth Carter for "NotificationServices.java prepareNotification does not allow component:// urls" https://issues.apache.org/jira/browse/OFBIZ-5374
...
The prepareNotification method in NotificationServices.java does not allow urls that start with component:// because its using UtilURL rather than FlexibleLocation. Here is a patch that adds FlexibleLocation. I am not sure if its best to remove UtilURL or not - that can be up to you.
jleroux: since FlexibleLocation.resolveLocation() supersedes UtilURL.fromResource() I used it instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1536905 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 22:00:33 +00:00
Jacopo Cappellato
a40b13525d
Upgrade to Lucene latest bug fix release: 4.5.1
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1536674 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 11:48:39 +00:00
Jacopo Cappellato
489bee58c2
Upgrade to Tomcat latest bug fix release: 7.0.47
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1536656 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 11:01:37 +00:00