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
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
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
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
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
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
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
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
After r751990, <<allow-html="any">> and <<allow-html="safe">> are the same: they do nothing! The only difference is the warning message from the OWASP Antisamy IntrusionDetector, which is both, as Christoph noted "giving you a false sense of security" or as I wrote "disturbing, wrong and useless". So there are no longer any reasons for differencing "safe" and "any".
This
* Deprecates "safe" (making it clear in the XSD documentation), keeping only "none" and "any". This is for backward compatibility, else we could completely remove the misleading "safe". Note that "none" is the default.
* Replaces in services definition all allow-html="safe" by allow-html="any"
* Remove from ModelService.java (near line 587) the code which throws the OWASP Antisamy IntrusionDetector message in log
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1536324 13f79535-47bb-0310-9956-ffa450edef68
Small improvement to provide a default in French when any country has been selected. The same idea can be used with other default locales.
Actually this issue can't be completely fixed without efforts to reduce the lengths of labels above buttons in some languages, also depends on screen widths and anyway OFBiz is far to provide a responsive design, if even this is wanted...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1535981 13f79535-47bb-0310-9956-ffa450edef68
It was already flawed in R10.04.
If you click on the Gizmos node, the pagination page shows 3 pages when there should be only 2 and if you get to the page 3 it crashes.
If you come from the breadcrumb the problem is the same.
On the other hand, from R11.04 there is a "Popular Categories" section at top of the main screen, and from there it works correctly.
But in this version the "Featured Products" pagination shows the same symptom than the category pagination.
The "Featured Products" pagination works almost correctly from R12.04, but shows 2 pages when the second is useless and empty, at least no crashes!
Note:
This has no side effects on the same in order component
Actually what we should do is to create an unique paginationControls macro but there are subtle differences and I'm afraid it would open a can of worms. I will though check...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1535961 13f79535-47bb-0310-9956-ffa450edef68