Commit Graph
18157 Commits
Author SHA1 Message Date
Erwan de Ferrieres 7148ae8bc1 tabs to spaces, no functional change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1228666 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 17:04:36 +00:00
Erwan de Ferrieres 09529c62a4 OFBIZ-4648 - Better french translations - A patch from Youssef Khaye
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1228649 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 16:23:54 +00:00
Erwan de Ferrieres 1ed89b4529 OFBIZ-4642 - Task Statut is wrong after last modification done on ProjectServices.xml - A patch from Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1228637 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 15:41:13 +00:00
Adrian Crum 6067eec6ef FreeMarkerWorker JavaDocs - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1228592 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 10:26:52 +00:00
Adrian Crum f420d58089 Added a urlEncodePostalAddress method to ContactMechWorker.java - useful for calling map web services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1228508 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 00:11:14 +00:00
Jacques Le Roux 80b29253bf A patch from Deepak Dixit "Autocompleter fails if lookup fieldFormName contains (?)" https://issues.apache.org/jira/browse/OFBIZ-4646
For regenerating issue go to https://demo-trunk.ofbiz.apache.org/facility/control/ReceiveInventory?facilityId=WebStoreWarehouse , enter GZ-1005 and receive.
Now on receive inventory page search "Facility Location" via autocompleter then it will show the lookup screen instead of search result.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227965 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 05:47:27 +00:00
Adrian Crum f1aabee8e4 Cleaned up Work Effort Calendar UI layout.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227713 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 17:28:52 +00:00
Erwan de Ferrieres c011b5e9cd OFBIZ-4614 - property auto-field-map in services in actions in forms, not working as describe in xsd description, name of map is not used - A patch from Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227365 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 22:34:47 +00:00
Erwan de Ferrieres e7a9e0d221 Upgrade to the latest POI version. I was getting java.lang.ClassNotFoundException: org.apache.poi.poifs.filesystem.NPOIFSFileSystem when uploading a doc or xls document. docx and xlsx are now recognised when uploaded. I had to add dom4j which was required by poi-ooxml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227356 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 22:20:13 +00:00
Erwan de Ferrieres e11c5ffa5f OFBIZ-4644 - Sub-Project Phase are listed in Project Task list - A patch from Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227343 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 21:53:43 +00:00
Erwan de Ferrieres dc4556318c Forgot to remove tika-core-0.9.jar at rev 1227337
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227342 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 21:52:22 +00:00
Erwan de Ferrieres b41313ca26 OFBIZ-4641 - in Form.xml, special characters are not manage correctly in description if text-size is used in drop-down - a patch from Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227340 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 21:46:53 +00:00
Erwan de Ferrieres 1901c4b266 optimize is deprecated with Lucene 3.5.0, we should now use forceMerge, I forgot this one at rev 1226952
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227339 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 21:45:26 +00:00
Erwan de Ferrieres c598dbccfa Upgrade Tika version to 1.0
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227337 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 21:43:27 +00:00
Adrian Crum 813f8abc0e Added the ability for applications to specify URLs for creating/editing calendar events in the calendar screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227314 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 20:46:52 +00:00
Adrian Crum 1be2d1bcba Added UI labels to work effort calendar Search Options form.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227164 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 14:02:05 +00:00
Adrian Crum 7876c23e92 Workaround for a bug in the work effort application - it was not possible to display all calendar events. Added calendar type "None" so that all calendar events can be displayed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227154 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 13:39:37 +00:00
Adrian Crum 0a4cb547ee Add/edit/view calendar event improvements: Added ability for the containing screens to specify the create and update URLs, added form UI labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227141 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 13:05:57 +00:00
Adrian Crum 06ee5762cc Added a generic work effort user to the demo data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1227139 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 12:59:04 +00:00
Erwan de Ferrieres edea4e0e19 OFBIZ-4640 French translation for RateType description and for WorkEffortTimesheetAlreadyExists label - A patch from Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226964 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 21:57:24 +00:00
Erwan de Ferrieres fa57dd7220 forgot to remove the file at rev 1226961
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226962 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 21:56:17 +00:00
Erwan de Ferrieres c77d0e164c Removing metadata-extractor-2.4.0-beta-1.jar as it is never used. It was committed at rev 1081848 (http://svn.apache.org/viewvc?view=revision&revision=1081848) with tika integration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226961 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 21:55:08 +00:00
Erwan de Ferrieres c919f07e52 OFBIZ-4643 - Add description for Component, only complete existing functionality - a patch from Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226954 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 21:28:24 +00:00
Erwan de Ferrieres a54992b9ed upgrade Lucene Core to 3.5.0 -- see changelog at http://lucene.apache.org/java/docs/index.html#27+November+2011+-+Lucene+Core+3.5.0
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226952 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 21:22:59 +00:00
Adrian Crum 8a0cf0272b Small fixup for my previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226924 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 19:16:25 +00:00
Adrian Crum 60279fe61b Removed some nonsensical restrictions in the edit calendar event screen and form.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226840 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 15:56:16 +00:00
Adrian Crum b9d774f95c CreateUrlParam.groovy improvement. The original version had hard-coded parameters for calendar navigation - making it difficult to reuse the calendar screen in other applications. My previous commit removed that restriction, but it introduced bugs in the calendar event edit form. This commit permits applications to specify URL parameters for calendar navigation while preserving backward-compatible behavior.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226837 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 15:50:27 +00:00
Adrian Crum bed6d200d4 Fixed createWorkEffortAndPartyAssign service that didn't work. The service failed because it called the assignPartyToWorkEffort service which failed permission checks because the user wasn't already assigned to the (just created) work effort.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226782 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 13:48:28 +00:00
Adrian Crum 0d7b1c5eb3 Fixed a work effort calendar screen that didn't work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226751 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 12:04:29 +00:00
Adrian Crum bc0b2a99da Small fixup for rev 1226325.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226447 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 15:52:31 +00:00
Adrian Crum c5786ef49b Fixed a work effort calendar script that didn't work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226393 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 11:24:37 +00:00
Jacopo Cappellato 033c0a204c Fixed tests that were going to fail after the new year switch; with this fix the tests will work until 2020.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226378 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 09:06:54 +00:00
Jacques Le Roux 5e00c6809d This should fix invopice and payment tests following r1055057, thanks for the idea Adrian!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226367 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 08:29:59 +00:00
Adrian Crum 4c2a005ae7 Code cleanup in the work effort calendar groovy scripts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226325 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 00:46:00 +00:00
Jacques Le Roux 47e9f8864d Another try to pass invoice and payment tests with new year... Did not work, so far...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226309 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 22:30:18 +00:00
Jacques Le Roux 6501786bb6 Thanks to Jacopo, now the tests pass again... until 2019... ;o)
Adrian proposed to make an effort with expressions in data...

Mmm... Actually I wrongly read successful when it was unsuccessful... I tried also changing CustomTimePeriod... Stil trying...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226304 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 21:26:41 +00:00
Jacques Le Roux f02692f632 A patch from Philippe Mouawad "Set TransactionUtil#debugResources default value to false and make it configurable" https://issues.apache.org/jira/browse/OFBIZ-4293
debugResources is true which creates a DebugXAResource (that creates an Exception) , it should be false and made an option for debuging

jleroux: see comments in Jira 4282 for more

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226234 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 11:27:10 +00:00
Jacques Le Roux e5566e66cd A patch from Philippe Mouawad "Remove Synchronized in internalBegin" https://issues.apache.org/jira/browse/OFBIZ-4292
InternalBegin is uselessly synchronized , since it is a static method it is a very big useless Contention Point since not unthread safe instance variable is used

jleroux: see comments in Jira 4282 for more

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226231 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 10:50:27 +00:00
Jacques Le Roux ae3205204e A patch from Martin Kreidenweis "Deserialization of arrays with UtilObject.getObject() throws ClassNotFoundException" https://issues.apache.org/jira/browse/OFBIZ-4295
Deserialization of arrays with UtilObject.getObject() throws a ClassNotFoundException. This happened to us when we enabled the distributed cache clear feature and it was sending arrays of EntityExpr objects to other OFBiz instances.

The reason is, that the org.ofbiz.base.util.ObjectInputStream calls classLoader.loadClass(name) directly instead of using Class.forName(name, init, classLoader).
According to java bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6446627 ClassLoader.loadClass() is not intended to being used this way and doesn't support loading arrays.

jleroux: Sun/Oracle is pretty clear about that <<[When you want to reflectively load a class by name initiated using a specific class loader, you should not invoke that loader's public loadClass method directly-- instead, you should always use the static three-argument Class.forName method.  The ClassLoader.loadClass instance method is more intended for delegation from one class loader to another within a class loading operation (although this is a common confusion and not well described in the documentation).  In other words, replace L.loadClass(N) with Class.forName(N,false,L).  The Class.forName invocation may eventually end up invoking loadClass on the specified loader, but only after taking care of some other aspects of the VM's standard symbolic class name resolution process-- the significant bit in this case being the support for loading/creation of array classes.]>> More at the link above


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226223 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 09:57:50 +00:00
Erwan de Ferrieres 912bc9761b Missing PageTitleTagResults label, and adding more French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226089 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 13:43:20 +00:00
Erwan de Ferrieres 087c3c8b0b Removing orphan labels, imported at rev. 1039574
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226084 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 13:37:40 +00:00
Erwan de Ferrieres 5be9edbec2 ProductCategories is already defined in ProductUiLabels, no need to have it twice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226080 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 13:27:59 +00:00
Erwan de Ferrieres 2301a97b1a Some French translations for tags-related uiLabels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226079 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 13:25:20 +00:00
Jacques Le Roux db4b30ba20 A small comment to better understand the reason of the trick
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226072 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 11:42:49 +00:00
Jacques Le Roux 7f9eaa2793 This completes "Null values are not synchronized in http mode" https://issues.apache.org/jira/browse/OFBIZ-4602
And I better understand Patrick's answer to the issue now...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226065 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 11:37:23 +00:00
Jacques Le Roux 7ee4d9c8ec Should close "Null values are not synchronized in http mode" https://issues.apache.org/jira/browse/OFBIZ-4602
I followed Adrian's advice. I tried to create an order with a dropship1 item (like in Jira 4637) and it worked perfectly. I guess, as we were suspecting, using 
  set(name, "");
instead of
  element.setAttribute(name, "null");
had side effects. 

Anyway, as Adrian pointed out, the right returned string should be "[null-field]" and it's now correct/consistent. On the other side (entity sync clients), of course, now "[null-field]" should be handled instead of "" or "null"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226055 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 10:13:34 +00:00
Hans Bakker d9414ad2b3 if an override view is specified in a url and it does not exist, it will not generate a 404 return code but will display an error. this change will do this. example url: http://localhost:8080/ecommerce/control/main/aaa
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 03:22:36 +00:00
Vikas Mayur 532a8594b7 Extend view entity ShipmentPackageRouteDetail.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225662 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 21:36:10 +00:00
Adrian Crum 999fdc5d96 Added a source code comment and service definition documentation to clear up some confusing behavior in the getWorkEffortEventsByPeriod service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225647 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 20:52:35 +00:00
Vikas Mayur f970a9f841 Formatting changes only.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225640 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 20:25:34 +00:00