Commit Graph
27737 Commits
Author SHA1 Message Date
Adrian Crum 73f645bb43 Revert some local modifications that were unintentionally committed in rev 1360283.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1362889 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 11:34:41 +00:00
Adrian Crum 3df18870cc Some trivial changes in the entity config classes - mostly JavaDocs, remove unnecessary calls to UtilValidate. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1362790 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 07:15:45 +00:00
Adrian Crum ca716388f8 Added a new attribute to the entity definition - "redefinition" - which will suppress "Entity is defined more than once" warnings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1362772 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 05:42:24 +00:00
Jacopo Cappellato 32165e83a7 Trivial cleanup: removed an unnecessary private field.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1362492 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 13:41:27 +00:00
Jacopo Cappellato 2176d521e2 Removed an unnecessary synchronized block (because it was using as a lock the "this" instance and it was already inside of a synchronized method).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1362485 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 13:32:16 +00:00
Jacopo Cappellato eed72271fb Changes to fix some thread unsafe code in the JobManager constructors.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1362469 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 12:28:24 +00:00
Adrian Crum 32697a7440 Fixed a bug in Mini-language <set> element validation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1362445 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 11:09:13 +00:00
Jacopo Cappellato 8693969ac4 Refactored the very old code in the org.ofbiz.service.job package to leverage the Executor framework of java.util.concurrent rather than relying on ad-hoc synchronization and thread management: the new code is simpler, smaller and it is now easier to review and change the execution policy; two attributes of service-config.xsd have been deprecated as they are not used in the new version ("jobs" and "wait-millis").
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1362422 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 09:20:42 +00:00
Jacopo Cappellato 6137a3bf47 Minor change to set a consistent naming format for all the threads started by OFBiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1362417 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 09:05:33 +00:00
Adrian Crum 60c0ab03d6 Bug fix in ServiceDispatcher.java: restore GenericDelegator state before throwing exception. https://issues.apache.org/jira/browse/OFBIZ-4967
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361958 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 09:58:58 +00:00
Jacopo Cappellato 78a8738a8f Minor change to use the Runtime class to get the number of processors rather than MxBeans.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361955 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 09:54:27 +00:00
Jacopo Cappellato 16ce8dcb0f Removed no more used folder/image
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361951 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 09:31:06 +00:00
Jacques Le Roux 188353ef90 Tiny improvement in doc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361946 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 09:16:57 +00:00
Adrian Crum 7c5c1aa4a8 Fixed semaphore handling issues in ServiceDispatcher.java. https://issues.apache.org/jira/browse/OFBIZ-4967
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361944 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 09:05:14 +00:00
Adrian Crum b6fb21c822 Removed ugly checkDebug method from ServiceDispatcher.java. https://issues.apache.org/jira/browse/OFBIZ-4967
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361931 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 08:12:16 +00:00
Adrian Crum fe73aed662 Small cleanup in properties schema.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361922 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 07:16:35 +00:00
Adrian Crum 115e96c2f6 New feature - performance metrics. Web application integration.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361727 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 16:11:44 +00:00
Adrian Crum 43a9cbef12 New feature - performance metrics. Service engine integration.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361725 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 16:10:50 +00:00
Adrian Crum cfc9f619c3 New feature - performance metrics. Webtools UI.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361724 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 16:09:26 +00:00
Adrian Crum 2a0058a04b New feature - performance metrics. Basic code and services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361722 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 16:07:59 +00:00
Adrian Crum c4d1e283a1 Small enhancement to the Flat Grey visual theme - make button-col controls a little smaller so they don't expand the table size so much.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361685 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 11:02:51 +00:00
Jacques Le Roux 3c41c2e3fb A (slightly modified) patch from Tom Burns for "Example Application Issues" https://issues.apache.org/jira/browse/OFBIZ-4960
Problem path 1:
Find Example > Find Example
Select EX01
Click Items Tab (or Features)
Click Example Tab
Expected: Example Details form in the context of the Example menus
Actual: New Example Form under Example Application menus

Problem path 2:
Example > click New Example
Enter a new example
Expected: Example Details form to add Items and Features to the New Example
Actual: Example page filtered on newly created example
(this is a problem for a new user who will not know how to clear the Example Id from the Search Options form. A better path would be to go to the edit forms where the user can add additional information on the example i.e. Items and Features)

Problem path 3:
Features > New Example Features
Enter a Description > Click Create
Enter a Type and Sequence Num
Click Add
Expected: Create a new Example Feature Appl
Actual: Error Problem 3: Error missing exampleFeatureId

jleroux: just put comments about checks Tom wanted to remove: <!-- This is a check useful when only seed data are loaded -->

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361662 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 08:57:57 +00:00
Adrian Crum 7cfc77c5fd Removed webtools servlet context parameters that were pointing to non-existent files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361476 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 06:55:14 +00:00
Jacques Le Roux 38e997245a A patch from Carsten Schinzer "ECommerce application, productdetail is not fully internationalized" https://issues.apache.org/jira/browse/OFBIZ-4962
The i18n in the productdetail.ftl is not complete when featuretree is used to define products. Missing bits:

Reference to existing UI Labels on div productdetail for sizes available
Using a UI Label instead of hard coded "choose option" on the AddItemForm



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361402 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 21:12:26 +00:00
Hans Bakker 5734e5c151 memory allocation misspellings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361167 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 11:33:57 +00:00
Jacopo Cappellato 3aa85842f2 Moved the "birt" component out of framework to specialpurpose; moved all the birt reports from the applications to the birt component itself, where the application webapps are overriden to inject the reports; the end result is the same but since all these birt reports are simply a proof of concepts that cannot be used in production (for example they use hardcoded userlogin for authentication) the birt component should be probably disabled by default (but this will be discussed in the dev list).
Now it will be very easy to extract the birt component (for OFBiz Extras) or to disable it when deploying to production or when interested in sparing some hardware resources. I did some cursory tests but since the work has been challenging and rather complex I would appreciate testing help and also reviews to finds chunks of code that I could have missed and that could be moved out as well.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361130 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 09:48:32 +00:00
Adrian Crum b8b8a5fa49 Fixed booleanExpr type in Mini-language schema. Reported by Olivier on the dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361073 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 07:56:04 +00:00
Jacques Le Roux 101af2bbfa A patch from Tom Burns for "HR Public Holiday Accepts Blank in Required Field "https://issues.apache.org/jira/browse/OFBIZ-4965
To Reproduce:
1. Navigate to HR > Global HR Settings > Public Holiday
2. Enter a From Date
3. Click Submit

Expected: Alert like "Required field Holiday Name missing"
Actual: New record created without required Holiday Name


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361056 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 07:09:43 +00:00
Jacques Le Roux c8da9cb937 A patch from Mohamed Amine AZZI "Add rtl layouts to the pos application" https://issues.apache.org/jira/browse/OFBIZ-4964
Adds new screens layouts for right to left languages (arabic).
Adds some code to ensure that elements are added from right to left in the Journal table.

jleroux: I was not able to check all, but it's ok with me


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360930 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 20:49:16 +00:00
Jacques Le Roux ace252011d This should not have slipped in at r1328727
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360907 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 20:15:24 +00:00
Jacques Le Roux 870bf35ef6 Rhaaa, I had a svn changelist for OFBIZ-3913 pending and did not notice those changes for
r1356471 Housekeeping of jar files"  https://issues.apache.org/jira/browse/OFBIZ-4833
Moves Minerva and XAPool to Attic

Keeping changelists with no changes in it is a bad things, I should not forget that :/

Fortunately not biggie at all

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360902 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 20:04:41 +00:00
Jacques Le Roux 9997135a29 A patch from Olivier Heintz "Help links not working after lookup.js refactoring, needs to change lookup-popu2 to lookup-popu1" https://issues.apache.org/jira/browse/OFBIZ-4964
Help button is not working, currently it's a lookup-popup2 which is called and this method has not the same number of parameters than the call.
In lookup.js, I have see that lookup-popup1 has the correct number of parameters, so in the join patch I have change the lookup-popup2 to lookup-popup1

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360711 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 14:54:14 +00:00
Jacopo Cappellato d743e3853b Replaced usage of java.util.Timer with the more modern and reliable ScheduledThreadPool executor.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360691 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 14:16:43 +00:00
Adrian Crum 9c4150aa26 Fixed Mini-language script file that was pointing to the wrong XSD, reported by Tom on the user mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360689 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 14:09:27 +00:00
Jacopo Cappellato 42db3b8ca8 Removed "loader" element and all supporting code that I had recently introduced and that it is no more needed now that I have completed (in rev. 1360637) the support to set loader profiles in the startup properties.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360681 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 13:50:25 +00:00
Jacopo Cappellato 20b343d1f5 Unified all the different variants of *-containers.xml files into one; this has been made possible because now you can declare the container loaders in the startup properties; also moved some container definitions from base/config to the proper component.
It is now very easy to control the way containers are loaded.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360637 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 11:34:41 +00:00
Adrian Crum a17298a06e Removed unused "authz" security code - https://issues.apache.org/jira/browse/OFBIZ-4839.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360283 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 16:34:26 +00:00
Adrian Crum f5c4810955 Documentation work on the Mini-language schema to make the schema documentation and the Mini-language Reference the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1359600 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 11:06:39 +00:00
Adrian Crum eaaff20b2e Small change to Mini-language <set-calendar> element - removed the set-if-empty attribute, which is unnecessary because a Timestamp will never be empty.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1359599 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 11:03:56 +00:00
Jacques Le Roux 302e44781d A patch from Ankit for "Error on Shopping List Page" Jain https://issues.apache.org/jira/browse/OFBIZ-4957
In the groovy EditShoppingList.groovy the value of lowIndex is 0 that's why in the ftl we should use lowIndex instead of lowIndex-1.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1359500 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 07:11:38 +00:00
Hans Bakker 117d3f409f Add a find/approve/reject function for product reviews
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1359479 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 04:53:20 +00:00
Sascha Rodekamp 17db70f01a fixed a js bug in the lookups - worng link parsing if there's a slash '/' in the data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1358988 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 09:13:54 +00:00
Jacques Le Roux c10088f694 I'm used to use r for release, I put it here also
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1358847 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 21:55:06 +00:00
Jacques Le Roux 88f88ba007 A patch from Daniel Riquelme "Not getting right behavior of use-when when using in multi" https://issues.apache.org/jira/browse/OFBIZ-4932
The problem is that on multi forms the bshInterpreter gets pushed to higher levels on the context stack when iterating the form rows.
What is intended in the code is to reset the bshInterpreter (this.resetBshInterpreter(context) for each row iteration, this reset translates into a key object being removed from context, this context is stored in a stack data structure. The removal assumes the value will always be at level 0, yet what happens is that the value resides at a higher level.
The fix is to perform the removal prior to context modification, this way the bshInterpereter object would be at level 0 upon removal.

jleroux: since the BshInterpreter is reseted just after with localContext this should not have any bad side effects

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1358735 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 13:15:56 +00:00
Hans Bakker df86e7f69d update revision 1353381 to use CREATE/UPDATE?DELETE instead of ADMIN, suggestion from Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1357453 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 03:24:57 +00:00
Hans Bakker ff9542a4eb update revision 1352768 to use CREATE instead of ADMIN, suggestion from Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1357450 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 03:07:58 +00:00
Jacques Le Roux e0aeb84002 At Jacopo's demand removes a link to MarkMail. I could have added a link to mail-archives.apache.org/mod_mbox/ofbiz-user but it's very minor anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1357235 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 13:09:37 +00:00
Jacques Le Roux 00b4936522 Fixes a duplicated label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1357182 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 08:57:42 +00:00
Sascha Rodekamp c46513daa0 Lookup filed with target-parameter attribute set cannot be displayed (https://issues.apache.org/jira/browse/OFBIZ-4950) A patch from Leon: if <lookup> field has attribute "target-parameter" set, then there's javascript error in front end and lookup icon disappears.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1357098 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 06:24:57 +00:00
Jacques Le Roux 6889ac074a No functional changes, only a small comment to better understand the meaning of those fields (excerpt from http://markmail.org/message/tvyghkw7rgq5bmqi there are more things interesting in this thread, other solutions to other problems, etc.)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1356882 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 19:34:44 +00:00