Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 649b6aa7bf A patch from Ravi Lodhi for "Stock Move: Unable to select From Stock location from List Facility Location popup" https://issues.apache.org/jira/browse/OFBIZ-7309 reported by Florian Montalbano
When trying to remove a product feature from the quick admin page of a product, you get the following error :
Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [productId] passed to secure (https) request-map with uri [quickAdminRemoveFeatureFromProduct] with an event that calls service [removeFeatureFromProduct]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help.

Step to reproduce the error :

    Go to the catalog and search for any product (https://localhost:8443/catalog/control/FindProduct)
    Go to the "Quick Admin" tab (https://localhost:8443/catalog/control/EditProductQuickAdmin?productId=WG-9943-B3)
    Add a standard feature type (Color for example)
    Select an option from the drop-down of the feature type (Black for example) and add the feature.
    Try to delete it by clicking on the button with a cross.
    The error shows up


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748182 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 11:45:11 +00:00
Jacques Le Roux da29d8e842 This closes "Add the -server JVM argument to Ant targets like start and tools/start*.bat files" https://issues.apache.org/jira/browse/OFBIZ-7321
I kept things as simple as possible. I only changed the following Ant targets
  start
  start-secure
  start-batch
  start-batch-secure
  run-test

I also changed the startofbiz.bat file. The other start*.bat are for the POS and it's not expected to run on a server.

I put a mention when using "java -jar ofbiz.jar -u" (start)
I will add a mention in "Technical+Production+Setup+Guide" wiki page about using "java -jar ofbiz.jar"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748173 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 10:34:39 +00:00
Pranay Pandey d106ce5618 [OFBIZ-7291] Correcting anchor location, a line break was disturbing UI with form introduction for security error fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748164 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 09:47:01 +00:00
Pranay Pandey 0162af32e1 [OFBIZ-7291] Applied slightly modified patch from the ticket to fix security error on Remove Shopping List Item link in eCommerce.
Thanks Mohammed Rehan Khan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748156 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 09:35:41 +00:00
Pranay Pandey 042864ac13 [OFBIZ-7268] Improved the styling for the anchor links inside the 'button-bar' to fix styling for CommonButtonBarMenu. Reverted the changes committed under OFBIZ-7006, since these UI improvements fix that issue as well by extending CommonButtonBarMenu.
Thanks Swapnil M Mane for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748145 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 09:13:14 +00:00
Pranay Pandey 43812384c2 [OFBIZ-7270] - Fixed security error on Create New Shopping List in eCommerce.
Thanks Mohammed Rehan Khan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748133 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 08:15:35 +00:00
Jacques Le Roux 0e40fd6d89 A patch from Florian Montalbano for "Stock Move: Unable to select From Stock location from List Facility Location popup" https://issues.apache.org/jira/browse/OFBIZ-7309 reported by Ankush Upadhyay
Functionality working as expected over ofbiz-13.07.03 but failing in trunk.
Steps to reproduce:
1. Login to facility component.
2. Select any facility.
2. Navigate to Stock Moves tab.
3. Click on From Location lookup from Quick Stock Move section against GZ-8544 product.
4. Try to select any location from List Facility Location popup.


We looked into the problem and found what seems to be the root of this bug.
The form with the not working lookup is described in the following ftl file : PickLiveStock.ftl .

For some reason, the 'Product' input and the 'To Location' input are created with the macro @htmlTemplate.lookupField (and are working well) but the 'From Location' field is created by a direct call to a javascript function (and is not working well).
That causes the lookup to open in another window and to lose the context. That's why the selection didn't work. Moreover, the theme was not rendered with Saphir.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748121 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 07:58:09 +00:00
Jacques Le Roux 27b736e3ed No functional changes. While reviewing Wai's patch for OFBIZ-7112 I noticed that he (re)used this pattern introduced earlier:
(resource == null || resource.length() <= 0)
From Java spec. a String, Collection, Map or CharSequence can't have a negative length, so the pattern above can be reduced to 
  (resource == null || resource.length() == 0)
which can be replaced using 
  UtilValidate.isEmpty()
I checked, there are several other occurrences of this pattern (some very old, I guess most were routinely copied from an initial occurrence). I decided to replace all of them, here they are.

I did that already long ago for the 
  (resource == null || resource.length() == 0)
pattern. It remains 4 of them. Three are justified (because of the dependency on base component or because using isEmpty() on Object is disputable for performance reasons). I took care of the remaining one right aways (in SplashScreen.java)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747976 13f79535-47bb-0310-9956-ffa450edef68
2016-06-12 10:43:58 +00:00
Deepak Dixit b64cf3971e (OFBIZ-7269) Fix typo for middleName in importParty service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747963 13f79535-47bb-0310-9956-ffa450edef68
2016-06-12 07:44:17 +00:00
Deepak Dixit 02c723c669 (OFBIZ-7213) Applied patch from jira issue
===================================
Override allow-html attribute do not work in service implementing any interface
===================================

Thanks Nameet Jain for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747959 13f79535-47bb-0310-9956-ffa450edef68
2016-06-12 07:17:06 +00:00
Deepak Dixit 936364f07e (OFBIZ-7269) Applied patch from jira issue
===================================
Error while importing party
===================================

Thanks Nameet Jain for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747956 13f79535-47bb-0310-9956-ffa450edef68
2016-06-12 07:07:02 +00:00
Deepak Dixit d9a8278ae6 (OFBIZ-7245) Renamed groovy file in upper camel case as per best practices
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747850 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 06:12:27 +00:00
Deepak Dixit 633d933e91 (OFBIZ-7219) Relocate .groovy files in the accounting ap and ar webapp.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747849 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 05:54:25 +00:00
Deepak Dixit 7ad9cef368 (OFBIZ-7218) Relocate .groovy files in the specialpurpose/projectmgr component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747848 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 05:50:23 +00:00
Deepak Dixit 4f6e569bad (OFBIZ-7244) Relocate .groovy files in the specialpurpose/webpos component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747796 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 20:01:05 +00:00
Deepak Dixit c762bc1c3d (OFBIZ-7243) Relocate .groovy files in the specialpurpose/scrums component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747795 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:58:55 +00:00
Deepak Dixit 090f1c0d83 (OFBIZ-7242) Relocate .groovy files in the specialpurpose/passport component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747794 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:56:19 +00:00
Deepak Dixit 80ddf5ad19 (OFBIZ-7241) Relocate .groovy files in the specialpurpose/lucene component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747793 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:54:37 +00:00
Jacques Le Roux 1ee87e749b This has slipped in inadvertently in a previous commit, removes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747792 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:52:15 +00:00
Deepak Dixit 87cd1955dc (OFBIZ-7240) Relocate .groovy files in the specialpurpose/hhfacilit component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747790 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:48:27 +00:00
Deepak Dixit d85ba2cbcb (OFBIZ-7239) Relocate .groovy files in the specialpurpose/googlebase component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747789 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:45:28 +00:00
Deepak Dixit af6db4e30c (OFBIZ-7238) Relocate .groovy files in the specialpurpose/example component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747787 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:40:19 +00:00
Deepak Dixit 861d926ca1 (OFBIZ-7237) Relocate .groovy files in the specialpurpose/ecommerce component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747786 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:35:12 +00:00
Deepak Dixit 709e6931de (OFBIZ-7236) Relocate .groovy files in the specialpurpose/ebaystore component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747785 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:31:30 +00:00
Deepak Dixit 07bf16507e (OFBIZ-7235) Relocate .groovy files in the specialpurpose/ebay component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747784 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:27:48 +00:00
Jacques Le Roux 0029608c28 This has slipped in inadvertently in a previous commit, removes!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747783 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:25:25 +00:00
Deepak Dixit f066d43453 (OFBIZ-7234) Relocate .groovy files in the specialpurpose/birt component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747782 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:22:06 +00:00
Deepak Dixit 867cd22ae6 (OFBIZ-7233) Relocate .groovy files in the specialpurpose/bi component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747781 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:12:22 +00:00
Deepak Dixit 9234458e2a (OFBIZ-7232) Relocate .groovy files in the specialpurpose/assetmaint component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747777 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:01:56 +00:00
Deepak Dixit 4a276ecf91 (OFBIZ-7231) Relocate .groovy files in the framework/common component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747776 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:58:37 +00:00
Deepak Dixit b893dd38fc (OFBIZ-7230) Relocate .groovy files in the workeffort component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747775 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:52:49 +00:00
Deepak Dixit fcf9d19f5b (OFBIZ-7229) Relocate .groovy files in the product component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747774 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:46:51 +00:00
Deepak Dixit e929d179d8 (OFBIZ-7228) Relocate .groovy files in the party component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747770 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:39:22 +00:00
Deepak Dixit 5284cf4f95 (OFBIZ-7227) Relocate .groovy files in the order component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747769 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:36:39 +00:00
Deepak Dixit 0a172e4b01 (OFBIZ-7226) relocate .groovy files in the marketing component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747767 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:30:58 +00:00
Deepak Dixit 8eac4248c9 (OFBIZ-7225) relocate .groovy files in the manufacturing component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747766 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:25:48 +00:00
Deepak Dixit 080fb8e5dc (OFBIZ-7224) Relocate .groovy files in the humanres component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747757 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 17:28:48 +00:00
Deepak Dixit 25b56a03ea (OFBIZ-7223) Relocate .groovy files in the content component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747756 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 17:21:10 +00:00
Deepak Dixit 543dd8e488 (OFBIZ-7221) Relocate .groovy files in the framework/webtools component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747755 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 17:16:22 +00:00
Deepak Dixit bee009fec5 (OFBIZ-7222) Relocate .groovy files in the commonext component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747751 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 17:09:26 +00:00
Deepak Dixit 87601f6aca (OFBIZ-7219) Relocate .groovy files in the accounting component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747746 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 16:54:38 +00:00
Jacques Le Roux ec66e361e1 A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)

I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix 

I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to 
  "The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Pranay Pandey 32f54ab638 [OFBiz-7295] Applied fix from the patch. Corrected typo in createWorkEffortRequestItem. The entity-name used in the 'find-by-primary-key' was "QuoteWorkEffort" instead of "CustRequestItemWorkEffort".
Thanks Amardeep Singh Jhajj for reporting the issue and thanks Montalbano Florian for looking into the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747661 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 08:36:36 +00:00
Pranay Pandey b37e66bced [OFBIZ-7293] Applied fix from the ticket for timesheet lookup dialog find not working. Used submit type "button" instead of "text-link", actually its a lookup form and it needs button instead of text-link. On rendering, text-link converted into anchor link: <a class="buttontext" href="javascript:document.lookupTimesheet.submit()">Find </a> and form rendered with changed name "form_1_lookupId", We normally use button in case of lookup form submits.
Thanks Amardeep Singh Jhajj for reporting the issue and providing patch with details.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747650 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 07:22:30 +00:00
Pranay Pandey d203fb02f2 [OFBIZ-7271] Applied patch from the ticket. Fixed UI Label issue on Find Subscription Resource screen, it was being shown twice.
Thanks Mohammed Rehan Khan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747646 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 07:09:42 +00:00
Deepak Dixit b2e207887f (OFBIZ-7273) Applied slightly modified patch from jira ticket
=======================================
Report "Sale Orders By Channel" is not rendering details
=======================================
Thanks Nameet Jain for your contirbution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747642 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 06:54:06 +00:00
Deepak Dixit 191af7cefe (OFBIZ-7289) Applied patch from jira ticket
=======================================
Monthly "Sales Report" PDF is not rendering details
=======================================
Thanks Nameet Jain for your contirbution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747639 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 06:15:02 +00:00
Mridul Pathak 926a740a63 [OFBIZ-7027] Added support to include party classification information in promo description. Thanks Swapnil M Mane for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747540 13f79535-47bb-0310-9956-ffa450edef68
2016-06-09 11:58:22 +00:00
Ashish Vijaywargiya 89e4e9c642 Applied patch from jira issue - OFBIZ-7203 - Empty Requirement Id and Product Id fields when generating pdf for Approved Product Requirements. Thanks Ravi for the contribution. Thanks for your extensive research and providing the details in the task, your notes are very helpful.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747516 13f79535-47bb-0310-9956-ffa450edef68
2016-06-09 09:14:13 +00:00
Ashish Vijaywargiya 5d24daab60 Applied patch from jira issue - OFBIZ-7200 - Problem in Print Pick Sheet functionality.
Thanks Ravi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747515 13f79535-47bb-0310-9956-ffa450edef68
2016-06-09 09:10:13 +00:00