Commit Graph
21426 Commits
Author SHA1 Message Date
Nicolas Malin 6fd6e8a049 A patch from Anne Jessel to Support filtering on non-std date field names in performFind and prepareFind (OFBIZ-4374).
With the difficulty to test, I create a new test-suite performfindtests with five junit :
 * testPerformFindConditionFieldEquals
 * testPerformFindConditionFieldLike
 * testPerformFindConditionDistinct
 * testPerformFindFilterByDate
 * testPerformFindFilterByDateWithDedicateDateField
I also improve TestNodeMember with two fields extendFromDate and extendThruDate to realize filter on it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655499 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 23:25:40 +00:00
Jacques Le Roux d3a58f3ee4 Commits small RequestHandler.java changes after r1535432 (related with OFBIZ-5312)
This is in preparation of the SEO branch merging, still WIP but should be soon

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655367 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 15:41:07 +00:00
Nicolas Malin 7fe9ad2a9c No functional change, reorganise some field on one line, remove double space and remove value present as default on submit button
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655170 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 21:46:33 +00:00
Nicolas Malin 82495fe78d Little improvement to adding uom to product quantity in production run forms (OFBIZ-5752), proposition and initial patch from Guillaume Sigoigne, thanks to him.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655165 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 21:28:15 +00:00
Jacopo Cappellato 71891a76fb Moved out from JobManager.getInstance the call to reloadCrashedJobs because it was causing a deadlock issue at bootstrap when an eca rule of type "validate" is defined on the JobSandbox entity.
At bootstrap an eca definition like the following:
   <eca entity="JobSandbox" operation="store" event="validate">
          <action service="ping" mode="sync"/>
   </eca>
 is causing a deadlock because it is triggered at startup when the reloadCrashedJobs method is executed; reloadCrashedJobs  is executed holding a lock on the JobManager object; within this method a "find" operation is performed that (because of the "validate" event) triggers the action; but for this a getDispatchContext is executed and this blocks until the task (executed by a thread Executor) that reads and setups the eca rules is complete; but this task requires a lock on the same JobManager object and thus we get the deadlock
Thanks to Arun Patidar and Deepak Dixit for analyzing the issue with me.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655046 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 14:02:50 +00:00
Jacopo Cappellato 7388a6407e Reverting my last commit for now as it because, after furthr testing it has no effect on the deadlock issue we are facing (the cache is already disabled by default so the change I did was irrelevant).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655013 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 11:32:31 +00:00
Jacopo Cappellato 9673c8c1a6 When selecting crashed JobSandbox records, disable cache: this makes sense for the specific use case but more importantly it fixes an intermittent deadlock issue that was occurring at startup when loading eca rules. Thanks to Arun Patidar and Deepak Dixit for reporting and analyzing the issue with me.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655010 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 11:22:52 +00:00
Adrian Crum 828aff751a Fixed a bug in the form widget models where a default type was not being supplied under certain circumstances - https://issues.apache.org/jira/browse/OFBIZ-6037.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654824 13f79535-47bb-0310-9956-ffa450edef68
2015-01-26 14:58:43 +00:00
Adrian Crum dbd5cc3e69 Restore private final fields in ModelForm.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654684 13f79535-47bb-0310-9956-ffa450edef68
2015-01-25 18:39:51 +00:00
Adrian Crum b1737aee5d Eliminated redundant code in the new widget classes. ModelSingleForm and ModelGrid are effectively light-weight "decorators" for the ModelForm abstract class. ModelForm still retains code for all form types (single and list) - because any attempt to separate the functionality will result in an avalanche of code modifications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654683 13f79535-47bb-0310-9956-ffa450edef68
2015-01-25 18:36:26 +00:00
Adrian Crum 2818037cc7 Updated widget visitor for new grid widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654673 13f79535-47bb-0310-9956-ffa450edef68
2015-01-25 17:57:44 +00:00
Adrian Crum 3d3ea2ad67 Small fixup for my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654672 13f79535-47bb-0310-9956-ffa450edef68
2015-01-25 17:56:26 +00:00
Adrian Crum 771e10f1c4 First pass at extracting grid widget from the form widget. This commit has a lot of duplicate code - future commits will reduce and reuse the duplicate code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654670 13f79535-47bb-0310-9956-ffa450edef68
2015-01-25 17:18:24 +00:00
Sharan Foga 213e3c4128 OFBIZ 6015 - added more HR help pages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654509 13f79535-47bb-0310-9956-ffa450edef68
2015-01-24 13:09:37 +00:00
Jacques Le Roux fb3a2adcc5 Fixes a bug, and get rid of some more bsh scriptlets
2015-01-23 18:19:10,216 |http-bio-8443-exec-6 |FlexibleStringExpander        |W| Error evaluating scriptlet [${bsh:isPromo!=null&&isPromo.equals("Y")}]; error was: java.lang.IllegalArgumentException: Error ru
nning bsh script [isPromo!=null&&isPromo.equals("Y")]: javax.script.ScriptException: Sourced file: inline evaluation of: ``isPromo!=null&&isPromo.equals("Y");'' : Attempt to resolve method: equals() on undefi
ned variable or class name: isPromo : at Line: 1 : in file: inline evaluation of: ``isPromo!=null&&isPromo.equals("Y");'' : isPromo .equals ( "Y" )

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654273 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 17:23:12 +00:00
Jacques Le Roux 10f596620a A patch from Pierre Smits for "ViewQuoteItemInfo.ftl has <td></td> at the wrong place" https://issues.apache.org/jira/browse/OFBIZ-6030
When a product has been added to a quote and subsequently looking at http://demo-trunk-ofbiz.apache.org/ordermgr/control/ViewQuote it shows that the quantity and sel. amount are positioned wrong (1 column to the right of where they should be).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1654175 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 11:34:44 +00:00
Jacques Le Roux 9cea2f4397 No functional changes. Despite that I don't like how the lookups are not inlined by default in FTL templates (so I had to separate them by line to keep things clear) I still prefer to have lookups for product and party. Here they are for rules actions creation and update
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653938 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 16:35:19 +00:00
Jacques Le Roux 9bfe114d10 Fixes a bug, there is no LookupParty only LookupPerson and LookupPartyGroup. anyway I believe here we should rather use LookupUserLoginAndPartyDetails because no reasons to exclude a PartyGroup or a Person
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653934 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 16:28:14 +00:00
Jacques Le Roux 7abdb62c51 No functional changes, fixes misc. typos while working on OFBIZ-1560
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653916 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 15:35:10 +00:00
Adrian Crum 1a23f8c1d7 Some fixups for the recent widget refactor.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653614 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 17:35:49 +00:00
Adrian Crum 350053b05f Fixed a portal menu item bug caused by the recent widget refactoring - https://issues.apache.org/jira/browse/OFBIZ-6022.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653597 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 16:54:18 +00:00
Jacques Le Roux 6c48f830c8 A slightly modified patch from Pierre Smits for "Remove Portal Management code from Framework/WebTools." https://issues.apache.org/jira/browse/OFBIZ-5817
Remove code related to Portal Management functionality from WebTools after equivalent code in MyPortal has been committed. 

jleroux: I just removed also the FindPortalPage entry in Webtools main.ftl


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653481 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 11:27:16 +00:00
Jacques Le Roux a6d02f7e33 Non functional change, change name WebtoolsAdminPortalPage to MyPortalAdminPortalPage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653479 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 11:09:09 +00:00
Jacques Le Roux 9e48ae2842 A patch from Pierre Smits for "Move Portal Mgt functions in MyPortal" https://issues.apache.org/jira/browse/OFBIZ-5812
Portal page admin functionalities are included in WebTools, but should be also in MyPortal for those users that don't have access to WebTools.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653477 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 10:52:21 +00:00
Jacques Le Roux 6b0e0fe346 Fixes "Gift card reload service not working OOTB" https://issues.apache.org/jira/browse/OFBIZ-5914
jleroux: this issue was only in ecommerce, order manager worked once you followed the FAQ about fin account and GC. It simply missed a test on product.requireAmount

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653456 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 08:04:10 +00:00
Adrian Crum c71dc63d27 Fixed a lookup bug caused by the recent widget refactoring, reported by lmac on the user mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653296 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 16:51:56 +00:00
Sharan Foga 1f4c0345cd OFBIZ-6015 updated HR Help Screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653248 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 13:59:18 +00:00
Jacques Le Roux d5c3acb587 Slightly modified uilabels patch from Pierre Smits for Dutch translations https://issues.apache.org/jira/browse/OFBIZ-6016
jleroux: I have made some changes within these changes, in agreement with Pierre


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653224 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 11:05:22 +00:00
Jacques Le Roux 0f284fb6af Slightly modified bunch of uilabels patches from Pierre Smits for Dutch translations (Manufacturing, Order, Party)
https://issues.apache.org/jira/browse/OFBIZ-6018
https://issues.apache.org/jira/browse/OFBIZ-6019
https://issues.apache.org/jira/browse/OFBIZ-6020

jleroux: I have fixed some trivial issues within these changes, 
Wrong change at <value xml:lang="fr">OFBiz: Gestion commerciale</value>
Removed all Dutch changes which were simply duplicating the English ones

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653208 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 07:40:50 +00:00
Jacques Le Roux aa2b996605 A modified patch from Pierre Smits for "Adding som Dutch translations to common labels." https://issues.apache.org/jira/browse/OFBIZ-6016
jleroux: I removed 
3 specific comments
<!-- ORRTIZ: TAXREPORT -->
<!-- GEO -->
<!-- ORRTIZ:BMS Applications -->
2 duplicates
<value xml:lang="nl">Gesynchroniseerd</value>
<value xml:lang="nl">Req. - geannuleerd</value>
For the later I kept the old one which seems more complete

I replaced 2482 <value xml:lang="(.*)_(.*)"> by <value xml:lang="(.*)-(.*)">


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653143 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 22:32:25 +00:00
Jacques Le Roux 1a6dfc2dce Temporary removes this test (testMultipleInventoryItemIssuance) after r1649408 and r1650455
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653056 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 17:16:52 +00:00
Jacques Le Roux f365a54b85 Reverts r1652814, it makes a number of tests to fail
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652923 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 06:43:25 +00:00
Adrian Crum dcecdd25a4 Reorganized the screen widget src folder so classes are more organized.
This commit might break some Groovy scripts. There seemed to be a lot of C&P widget import statements, but there were no widget classes being used in the script, so I removed them. I might have overlooked something though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652852 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 21:03:40 +00:00
Jacques Le Roux 3a2e9f7af5 "Gift card reload service not working OOTB" https://issues.apache.org/jira/browse/OFBIZ-5914
Introduces inventory data for GC-002 to have the amount field showing at ecommerce/gift-card-reload-GC-002-p. This field depends on ProductFacility.lastInventoryCount column

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652814 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 17:41:13 +00:00
Jacques Le Roux ef7494f2f2 Improvement, I had enough to remove trailing blanks when filtering by entity name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652803 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 17:19:03 +00:00
Jacques Le Roux 1a585cf8d9 A patch from Pierre Smits for "Form TotalProdBacklog has typo in link" https://issues.apache.org/jira/browse/OFBIZ-5979
This bug was introduced in commit: http://svn.apache.org/viewvc?view=revision&revision=1142915

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652739 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 11:38:17 +00:00
Jacques Le Roux 109c1911c6 No functional changes, only replaces tabs (introduced by r1352861 by 4 spaces in fieldlookup.js
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652738 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 11:33:12 +00:00
Jacques Le Roux 928b06c495 A patch from Gareth Carter for "framework/images/webapp/images/fieldlookup.js throws a javascript error in google chrome from a link to ofbiz from another site" https://issues.apache.org/jira/browse/OFBIZ-5968
When you link to your ofbiz installation from another site using _blank as the target and protocol is changing from http to https, google chrome will throw an error - 
Blocked a frame with origin "https://ofbiz.company.com" from accessing a frame with origin "http://other.company.com".  The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.

This error may prevent other javascript from executing (this has caused, in our ofbiz installation, datetimepickers from working properly)

jleroux: this simply adds a try/catch block and use the parent in case of failure

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652731 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 11:12:11 +00:00
Jacques Le Roux c71805f4ce A patch from Amardeep Singh Jhajj for "Main storefront page, Featured Products (middle column) overwrites right column. Should just crop column, but not overwrite right column." https://issues.apache.org/jira/browse/OFBIZ-2602
Simply increases the width of the left and right screens. It is more appropriate UX and fixes the issue. Checked in Safari MAC OS (8.0) and latest Google Chrome, Firefox, it is working fine there.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652725 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 10:23:59 +00:00
Jacques Le Roux 709944ff47 A slightly modified patch from Christian Carlow for "Add ability to find by orderName" https://issues.apache.org/jira/browse/OFBIZ-5969
Allow finding orders by the OrderHeader.orderName field at ordermgr/control/findorders.  Searching by orderName over orderId is more relevant when customers specify the name of their order. 

jleroux: I have increased the size of the column from 5 to 10% and hidden the name when empty

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652708 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 06:51:11 +00:00
Jacques Le Roux 5bac573139 A patch from Christian Carlow for "Find Order filtering broken" https://issues.apache.org/jira/browse/OFBIZ-5999
The Find Order page at ordermgr/control/searchorders does not filter results.

This patch adds the .where(cond) method missing from the query statement.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652706 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 06:27:17 +00:00
Adrian Crum 24a54944fd Some fixups for my previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652688 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 22:38:38 +00:00
Adrian Crum f8daffe432 Build out XmlWidgetFieldVisitor. I am finished working on this feature, but it is not complete. There are some TODO: comments, and if anyone wants to work on them, they are welcome to do so.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652672 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 20:43:48 +00:00
Adrian Crum 28fecf1efc Revert unintentional change in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652641 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 16:59:30 +00:00
Adrian Crum ed262228b2 Screen widget overhaul:
1. Extract and reuse common code/artifacts.
2. Organized the class structure so it makes more sense.
3. Add an XML widget visitor - this restores and improves the widget classes toString() methods. This is a WIP.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652638 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 16:47:23 +00:00
Mridul Pathak 57da246c29 [OFBIZ-3433] eCommerce main store front error returned when attempt is made to "Sign Up For Contact List" - as reported by Ruth. Not a service level bug but a UI issue. Email is a required input parameter in "signUpForContactList" service. Sign up form does have a field for email but has no label which is confusing to user, neither it is displayed as a required field. Applied patch from the issue to fix UI. Thanks Ruth for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652627 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 15:46:01 +00:00
Pranay Pandey b78ad92f7a Applied patch from jira issue OFBIZ-3563 which also resolves OFBIZ-2361. Creating a category with an ID (manually or automatically) that matches an existing productID will show the unrelated product when enter into the category on the 'Browse category' of the Ecommerce application.
Thanks  Jonatan Soto  and Rohit Sureka for reporting the issue. Thanks Divesh Dutta for providing patch for the fix.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652624 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 15:20:57 +00:00
Pranay Pandey e5d5d6dee2 Applied patch from jira issue - OFBIZ-5951. Product Costs page actions cause incorrect listings.
Thanks Christian Carlow for reporting the issue and thanks Amardeep for providing patch for the fix.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652617 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 14:51:35 +00:00
Mridul Pathak 09dadb5346 [OFBIZ-4457] Checkout layout - in screens before payment screen, the fields are below the last div in right column. Fixed Markup as in other checkout pages. Thanks Jacques for reporting the issue, and Amardeep for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652611 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 14:05:20 +00:00
Pranay Pandey 6cfc468ab3 Applied patch from jira issue - OFBIZ-5034. Contact us submit doesn't display a message on the page and doesn't send an email notification.
Thanks Eric de Maulde for reporting the issue and Amardeep Singh Jhajj for providing the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652610 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 14:04:14 +00:00