Commit Graph
27737 Commits
Author SHA1 Message Date
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
Vikas Mayur 93639f6c21 Added support to associate ship groups of sales and drop ship purchase orders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225639 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 20:24:28 +00:00
Erwan de Ferrieres 69d9ecc741 Removing DojoJSONServiceEventHandler.java as dojo is no more used in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225597 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 17:26:29 +00:00
Jacques Le Roux 96bf9e337e This reverts r1222241 and should fix "Can not create drop shipment order" https://issues.apache.org/jira/browse/OFBIZ-4637 reported by Sergei Biletnikov and confirmed by mz4wheeler
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225506 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 12:28:54 +00:00
Hans Bakker 89da49b3f0 add a tagcloud demo to the ecommerce home page, contribution of tom of antwebsystems.com
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225452 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 07:05:42 +00:00
Adrian Crum aa63974531 Moved some of the temporal expression data from demo to seed - so components can reference temporal expressions in their seed data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225330 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 20:51:26 +00:00
Erwan de Ferrieres b2f285eb47 Upgrading tomcat to version 7.0.23 - changelog @ http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225271 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 18:44:59 +00:00
Erwan de Ferrieres afa8f33046 Removing JSON handlers as they are deprecated since December 2009. More info @ http://s.apache.org/6zF
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225242 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 17:32:16 +00:00
Adrian Crum 7d71b0b4b6 Fixup for my previous commit. Browsers should not parse the contents of CDATA elements, but apparently they do.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225224 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 16:39:56 +00:00
Adrian Crum 74c2c1552b Fixed a bug in the getWorkEffortEventsByPeriod service, where the period span calculation was incorrect under certain conditions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224994 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 19:54:19 +00:00
Adrian Crum 19cc573a09 Bug fix for lookup screens - jQuery was loaded twice, which resulted in quirky behavior in the lookup screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224914 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 14:31:17 +00:00
Adrian Crum c64d47ed76 Fixed ant.bat.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224878 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 07:49:26 +00:00
Hans Bakker 273aa82656 implement the basic janrain package, which enables the login via most social sites, but can not recognize if the same user if logged in from 2 different sites. By default this function is disabled and will not change the functionality of the OFBiz login procedure in any way
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224876 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 07:39:43 +00:00
Ashish Vijaywargiya ba271358e7 Applied bug fix from jira issue - OFBIZ-4632.
Secure Url could not be call for service deleteKeywordThesaurus. 
Description - On the editKeywordThesaurus screen when we create a Keyword Thesaurus then try to delete it problem occurs. Replace the direct anchors to forms will fix this problem.
Thanks Rishi !!!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224712 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 11:18:03 +00:00
Erwan de Ferrieres f528be0a2a Simple refactoring in ProjectServices.xml, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224706 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 10:28:07 +00:00
Erwan de Ferrieres 0ea8f28afb OFBIZ-4625 - Project, Phase, Task actualsHours, plannedHours is wrong in some cases after last modification done on ProjectServices.xml - a patch from Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224703 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 10:16:42 +00:00
Hans Bakker 0b2921ed6d - Fix 2 log warnings when checking the entity definitions.
- Using iterate for each keyword type forms.
- Create a screen for display when the tags is created.
- Create junit test for product tag.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224689 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 07:42:42 +00:00
Hans Bakker 9f83e8ce6e fix junit test group order
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224671 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 03:05:55 +00:00
Adrian Crum 123bf7904e Fixed a bug in the getWorkEffortEventsByPeriod service, where the value of the start parameter was being changed - causing incorrect results with periods that do not start at the beginning of the day.
This change might cause problems with client code that assumes the service aligns the start parameter to the start of the day. In those cases, the start parameter alignment should be moved to the client code. See the WorkEffort component Days.groovy, Week.groovy, or Month.groovy scripts for examples.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1223007 13f79535-47bb-0310-9956-ffa450edef68
2011-12-24 20:00:50 +00:00
Hans Bakker 10f1cda23e improve group buying.f admin cancel an order the sold number should be decreased in group order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222616 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 09:17:19 +00:00
Hans Bakker 8e40b2e30d missing quote
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222587 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 07:03:08 +00:00