Scott Gray
375eec00c2
Update catalog urls to use the new OfbizCatalogUrl directive
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956485 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 08:05:07 +00:00
Scott Gray
5db5584476
Add a freemarker template directive (same as a transform) for making catalog urls i.e. same as StringUtil.wrapString(Static["org.ofbiz.product.category.CatalogUrlServlet"].makeCatalogUrl(...))
...
Can be accessed using <@ofbizCatalogUrl [productId=] [currentCategoryId=] [previousCategoryId=] />
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956484 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 08:04:53 +00:00
Adam Heath
af5a7f91fe
Remove useless check for non-null bundle, immediately after a null
...
check, in UtilResourceBundle.getBundle().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956472 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 07:09:13 +00:00
Adam Heath
8c90119420
s/safeWait/Thread.sleep/
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956471 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 07:09:08 +00:00
Adam Heath
08e5f40d52
Make use of makeMapWritable and makeListWritable to copy the list and
...
map.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956470 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 07:09:02 +00:00
Adam Heath
7fea76ce97
Fix formatting issues.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956469 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 07:08:57 +00:00
Scott Gray
0f29438bfd
Make sure the shipment id is transferred to the WeightPackageSession
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956438 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 01:59:30 +00:00
David E. Jones
aba8b28655
Improved missing party handling for order view, especially purchase orders; also in the CompanyHeader improved getting bill to customer so it doesn't do the same thing over and over, and it could possibly be simplified more but should have a better fallback for future changes with the current two possible ways of getting it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956402 13f79535-47bb-0310-9956-ffa450edef68
2010-06-20 20:12:27 +00:00
Jacques Le Roux
b9ecaf3291
Change description of Dropping Crumbs, to show the lineage
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956348 13f79535-47bb-0310-9956-ffa450edef68
2010-06-20 11:39:34 +00:00
Jacques Le Roux
c274921c68
Added TOMAHAWK description to be consistent, but anyway this is not used anywhere for the moment...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956343 13f79535-47bb-0310-9956-ffa450edef68
2010-06-20 10:47:33 +00:00
Jacques Le Roux
48a872868d
Fix a bug 1st reported by Sharan on user ML and wrongly fixed by me (I mixed the lines :/), then reported again by BJ at "keywordsearchbox looks up category instead of product" ( https://issues.apache.org/jira/browse/OFBIZ-3827 ) - OFBIZ-3827
...
I fixed it by hand, BJ's patch was not enough
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956340 13f79535-47bb-0310-9956-ffa450edef68
2010-06-20 09:41:59 +00:00
Jacques Le Roux
b5b1ea45e1
I like the Groovy's Elvis operator
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956226 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 13:49:49 +00:00
Anil Patel
0eb8a5547d
Fix typo. Added billTo prefix to the field.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956206 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 09:30:31 +00:00
Jacques Le Roux
9152e67d2e
A patch from Eric De Maulde "Product Categories page without category name" ( https://issues.apache.org/jira/browse/OFBIZ-3826 ) - OFBIZ-3826
...
Into the form UpdateProductCategoryMemeber (Product Categories page) categoryId appears twice if category description is empty, but category name is more significant and always full.
Also the form name has an error.
Into UpdateProductCategoryMemeber form, this patch changes category description to category name. It corrects the form name to UpdateProductCategoryMember
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956201 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 09:10:33 +00:00
Jacques Le Roux
0f7d2f9462
New updateNote service
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956129 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 21:08:24 +00:00
David E. Jones
8a6d9c7515
Small change to make the date/time format more consistent with added padding
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956123 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 20:36:23 +00:00
Jacques Le Roux
7ad8af8dba
Fix some typos, I don't think they had a real impact, but any way it's better like that
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956022 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 15:22:00 +00:00
Scott Gray
20eef28ba9
Removed an unused import and an unnecessary call to getControllerConfig(...)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955886 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 08:40:07 +00:00
Scott Gray
27719ce38a
Controller events (post/preprocessor, first-visit, after-login etc.) without 'name' attributes were not being loaded into the controller properly since the switch to storing them in <String, Event> maps, fixed by deriving a name from the other element attributes when an explicit one isn't provided
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955882 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 08:23:28 +00:00
Jacques Le Roux
dd816e0539
A patch from Sascha Rodekamp "Set webside Id in context filter" ( https://issues.apache.org/jira/browse/OFBIZ-3801 ) - OFBIZ-3801
...
Very minor: a better way to write the webSiteId in the Session (2d try ;o)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955631 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 15:18:48 +00:00
Jacques Le Roux
595c88d634
A patch from Shubham Dubey "Using number value with calcop operator does not work as thought" ( https://issues.apache.org/jira/browse/OFBIZ-3821 ) - OFBIZ-3821
...
For instance if you use
<calcop operator="multiply" field="parameters.numberSpecified">
<number value="${uomConversion.conversionFactor}"/>
and have a value > 1000 in conversionFactor you will get 1,000 for number value. It works well if you replace by
<calcop operator="multiply">
<calcop operator="get" field="parameters.numberSpecified"/>
<calcop operator="get" field="uomConversion.conversionFactor"/>
The problem exists in trunk and certainly R10.04 (not tested) maybe in previous release though I don't think so, it looks like something introduced with UEL
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955568 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 12:26:16 +00:00
Ashish Vijaywargiya
3b45817f98
Inventory reservations should not be done with defective inventory in system.
...
Patch from Pranay Pandey(Thanks!)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955340 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 18:30:24 +00:00
Hans Bakker
5eb1ace0a3
typo in last commit (955133)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955137 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 06:35:54 +00:00
Hans Bakker
b58eececc7
when emails are sent out related to a custrequest, create also the link between email and custrequest (same pattern as for order)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955133 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 05:48:00 +00:00
Erwan de Ferrieres
35fed9293a
Replacing groovy with the lastest stable release (we had a rc since december 2009)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@955036 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 20:17:17 +00:00
Adam Heath
4d87231961
BUG FIX: Fix coverage on $foo-test.jar.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954957 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 16:40:18 +00:00
Adam Heath
6eb1758421
Fix pure toString handling of values that contains "'" in them; this was
...
hacked to work for functions back in 2007, but it was actually broke in
all cases. Undid the hack, and made it work correctly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954956 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 16:40:13 +00:00
Jacques Le Roux
8787d226ec
I was too quick yesterday evening when I removed useless lines at top of updatePartyContactMech in r954583, some of them might turn useful in some cases.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954733 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 07:46:26 +00:00
Erwan de Ferrieres
e656939425
Adding system messages in biznesstime theme header
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954732 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 07:44:33 +00:00
Jacques Le Roux
85f720ade3
Fix a bug that seems to have been introduced at r934389 for ( https://issues.apache.org/jira/browse/OFBIZ-3703 ) - OFBIZ-3703
...
This fix a bug in updatePartyContactMech. When you wanted to update only the extension of a phone number it did not get stored.
I said "that seems to have been introduced" because it's working in stable demo.
I also remove a useless couple of lines at the beginning of the updatePartyContactMech service.
Finally I must say that I find very weird to have extension in PartyContactMech entity. It would be certainly more logical to have in TelecomNumber. Is it really used for anything else than phone number extension?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954583 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 18:40:05 +00:00
Erwan de Ferrieres
1701c87c03
As spotted by Adrian on the dev mailing-list, this is a better writing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954534 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 16:07:16 +00:00
Erwan de Ferrieres
16e8f57957
Allows to parameterize a form id
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954437 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 13:12:06 +00:00
Erwan de Ferrieres
abfdde6bfb
OFBIZ-3765 - Use CustomMethod for select order, quote and invoice hook to resolve id ( https://issues.apache.org/jira/browse/OFBIZ-3765 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954388 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 09:38:33 +00:00
Erwan de Ferrieres
3aabec8d64
adding sysinfo messages to bluelight theme
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954295 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 20:01:15 +00:00
Jacques Le Roux
9ef845d0ad
A patch from BJ Freeman "complete web.xml for error reporting" ( https://issues.apache.org/jira/browse/OFBIZ-3820 ) - OFBIZ-3820
...
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.
JLR: This will maybe help to better understand some errors on demo servers, and can't hurt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux
173a5bf11e
A patch from Sascha Rodekamp "Add a Uom Description to the Product Feature Table" ( https://issues.apache.org/jira/browse/OFBIZ-3818 ) - OFBIZ-3818
...
URL : https://localhost:8443/catalog/control/EditProductFeatures
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953964 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 09:02:36 +00:00
Scott Gray
c023d5a7c7
Check if errorCode is present before attempting to convert to an integer
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953917 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 01:06:53 +00:00
Scott Gray
2d9cf72a50
Remove stray character introduced in r953889
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953898 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 22:58:15 +00:00
Scott Gray
c7e8ffb10e
Fix bug where the service's responseMessage was being used to return error messages instead of the proper payment gateway parameters
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953889 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 22:10:13 +00:00
Jacques Le Roux
4dbc07a799
A patch from Ankit Jain "Missing "not-in" operator in condtion-expr tag." ( https://issues.apache.org/jira/browse/OFBIZ-3819 ) - OFBIZ-3819
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953671 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 11:44:34 +00:00
Erwan de Ferrieres
bace1fe029
Adding a generic uilabel for an entry's deactivation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953625 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 09:41:35 +00:00
Vikas Mayur
be2c5e7231
Consider returned items for a non-serialized inventory as good merchandise.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953580 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 06:53:12 +00:00
Erwan de Ferrieres
928f68c016
Unexistant uilabel was used
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953326 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 14:06:37 +00:00
Jacques Le Roux
0394703f8e
A patch from Sumit Pandit "Average product rating is not calculated properly." ( https://issues.apache.org/jira/browse/OFBIZ-3816 ) - OFBIZ-3816
...
In ProductWorker.java, method getAverageProductRating is used to calculate product's average rating. It is always return zero.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953294 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 12:10:24 +00:00
Hans Bakker
6420789510
make sure a send email does not show on the originators 'open' email list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953277 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 10:57:13 +00:00
Jacopo Cappellato
fd287e7b9b
Removed code that is not needed after my last commit (refactoring of dependent/mandatory pruns diplayed in the overview page)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953228 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 06:59:22 +00:00
Jacopo Cappellato
34f78a9642
Refactored code to display dependent/mandatory production runs in the overview page to be more consistent with the production run's assoc page.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953226 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 06:52:49 +00:00
Jacopo Cappellato
c287fa6126
Reverted change based on feedback from Adam Heath and Adrian Crum; the issue with Oracle will be resolved with a different approach.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953220 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 05:20:31 +00:00
Erwan de Ferrieres
5b2b852c2c
Changing portlet category from PROFILE to PARTY_PROFILE to make it more understandable
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@953014 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 14:05:46 +00:00
Jacopo Cappellato
7cf599d103
Implemented sql date to time converter to avoid errors with Oracle.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@952997 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 13:20:21 +00:00