Commit Graph
27737 Commits
Author SHA1 Message Date
Adam Heath b8b1bd7aba Refactored instrument() so that the main body of work is done by a
static helper class.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958275 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:40:51 +00:00
Adam Heath e780a65555 Convert Arrays.asList() to a normal, modifiable List.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958274 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:40:45 +00:00
Adam Heath f685831073 Fix several generics warnings that have crept in.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958273 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:40:39 +00:00
Adam Heath 76e9fc1b9a Remove use of deprecated ModelIindex.getIndexFieldsIterator().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958272 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:40:29 +00:00
Adam Heath 7135ac1de0 No longer use deprecated UtilMisc.staticWait().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958271 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:40:24 +00:00
Adam Heath c20e5a2ac7 Fix bug forwarded by BJ, from the user list; namely,
FastList.subList().add(Object) throws UnsupportedOperationException.
This commit should be undone when javolution is fixed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958270 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:40:16 +00:00
Erwan de Ferrieres f8eac652a7 Allowing parameters in on-event-update-area via parameter child element
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958228 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 14:06:39 +00:00
Erwan de Ferrieres aefac4fdf0 Allowing parameters in XML forms when using on-event-update-area
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958066 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 18:32:15 +00:00
Jacques Le Roux d931ca6dfc Organize imports (found by chance), no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958040 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 17:16:29 +00:00
David E. Jones cd4ba0840f Added code to get tax id in more circumstances in the PDF company header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957870 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 10:07:38 +00:00
David E. Jones 1bcbfd70c4 Fixed issue with XML reserved characters in screen and form data, they will now be encoded and display properly instead of causing an error about bad formatting in an entity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957658 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 18:09:08 +00:00
Erwan de Ferrieres baffc03933 Better handling of text when displayed in a chart
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957494 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 10:27:50 +00:00
Jacques Le Roux ea5e0ae9f6 Revert r957221 based on community consensus
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957430 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 06:28:42 +00:00
Hans Bakker 4f945b00d0 Handle ebaystore product Item Specifics
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957428 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 06:13:20 +00:00
Hans Bakker 32fd5599b2 Revising Open Ebay item specific Listings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957427 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 06:10:29 +00:00
David E. Jones 43569dfc03 A couple of small changes to fix XSL:FO widget rendering blow ups: in field titles replace nbsp with space, this is necessry since certain forms use this for empty cells so the renderer doesnt use the default title, also changes the screen link and image marcos to have the full parameters in the other files as it was blowing up on that too (ie with parameters passed in that it doesn't know about)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957362 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 21:47:41 +00:00
David E. Jones ff1fa481c0 Small change to fix CSS parsing error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957361 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 21:41:48 +00:00
Adam Heath 13f13a19c5 Another fix for OFBIZ-3789, reported by rohit. COUNT(groupByViewField)
didn't work correctly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957354 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 21:27:38 +00:00
Jacques Le Roux 6b9d0f5139 Fix: "FIXME Problem here the input field is shared", now use also a layered lookup, only remains the order item (a bit more convoluted)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957221 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 14:36:31 +00:00
Erwan de Ferrieres 40615fed9f Using a LocalDispatcher when having a groovy service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957182 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 13:08:00 +00:00
Jacques Le Roux b6030fa93c Product.productTypeId may not exist in a custom application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957160 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 11:16:33 +00:00
Hans Bakker 71eebb29cb update of ebaystore demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@957150 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 10:31:02 +00:00
David E. Jones b441416115 Small change to not blow up if orderHeader.salesChannelEnumId is not set in the order manager order detail screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956858 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 12:03:59 +00:00
Jacques Le Roux cc9fcc46c5 Better place for showOutOfStockProducts and storeCreditAccountEnumId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956664 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 18:40:10 +00:00
Erwan de Ferrieres df20c1d880 Adding null condition when using entity-condition in views
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956565 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 13:08:30 +00:00
Vikas Mayur f2e47a18c5 Fixed an issue when SupplierProduct.minimumOrderQuantity was not displayed on the bulk product lookup screen in order entry.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956558 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 13:01:35 +00:00
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