Commit Graph
14503 Commits
Author SHA1 Message Date
Michael Brohl ecdc57796d Applied patch for OFBIZ-7411: Commonext : Remove unused imports from groovy files for code optimization.
Thanks Ankit Joshi for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748956 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 10:46:03 +00:00
Mridul Pathak 55925cb9f6 [OFBIZ-7186] Find Facility Inventory Items shows same 20 items on all pagination page. Thanks Arvind Singh Tomar for reporting the issue and providing the patch. Thanks Montalbano Florian for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748950 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 10:18:13 +00:00
Pranay Pandey 8739f0d25a [OFBIZ-7354] Made find timesheet result list non-editable as this list is intended to display information about timesheets and any timesheet can be edited from their view page. This fix to UI is also required because it's confusing to the user when he sees editable fields but nothing can actually be edited there.
Thanks Amardeep Singh Jhajj for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748944 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 09:54:00 +00:00
Deepak Dixit 78b8c75172 (OFBIZ-7303) Applied patch from jira issue
===================================
Add a look-up for UserLogin Id in Find Party Screen
===================================

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748942 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 09:42:52 +00:00
Michael Brohl c63206a4bd Applied patch for OFBIZ-7396: Marketing : Remove unused imports from groovy files for code optimization.
Thanks Shivangi Tanwar for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748937 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 09:04:35 +00:00
Michael Brohl e5cba0db6c Applied patch for OFBIZ-7400: Humanres : Remove unused imports from groovy files for code optimization.
Thanks Ankit Joshi for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748933 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 08:34:37 +00:00
Deepak Dixit 9c0c31a780 (OFBIZ-7302) Applied patch from jira issue
===================================
Add a look-up for Product Id, UserLogin Id and Billing Account in Find Order Screen
===================================

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748932 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 08:34:37 +00:00
Deepak Dixit 61b1ed9a55 (OFBIZ-7301) Applied patch from jira issue
===================================
Add a look-up for Shipment Id and WorkEffort Id in Inventory Items Details screen under Facility Component
===================================

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748931 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 08:31:06 +00:00
Pranay Pandey 503ea79805 [OFBIZ-7329] Fixed an exception being thrown when day links are clicked in the Week and Month view of the Calendar widget. Changed the name of the 'start' parameter to "startTime" as at the time of creating a valid context for "getWorkEffortEventsByPeriod", the "start" parameter for the service was expected to be in Timestamp format but was actually in String format.
Thanks Aditya Patwa for reporting the issue and providing patch.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748925 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 07:08:47 +00:00
Pranay Pandey 123b9fb02a [OFBIZ-1191] Applied patch from the ticket. Fixed creation of a new forum in Content Manager. Content Association wasn't being created because of missing contentIdTo.
Steps to reproduce:
1) Go to content component
2) Click on Forum tab
3) Select WebStoreForum : https://localhost:8443/content/control/findForums?forumGroupId=WebStoreFORUM
4) Add new forum for this Forum Group.

Result: Created forum is not getting displayed.

Thanks late Adrian Crum for reporting the issue and Mohammed Rehan Khan for providing the patch.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748907 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 05:29:06 +00:00
Jacques Le Roux 4e1d52c9a5 A modified patch from Amardeep Singh Jhajj for "Error on deleting Content Type Attribute" https://issues.apache.org/jira/browse/OFBIZ-7369
Please find attached screenshot.

Steps to regenerate:

1. Go to https://localhost:8443/content/control/EditContentTypeAttr
2. Add ContentTypeAttribute.
3. Now try to delete it from list, error occurs.

The reason of error was missing default-entity-name in service entity-auto.

jleroux: while trying I noticed that if you did not fill the attribute name you got a non readable error message, I forced the attribute name to optional=false

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748854 13f79535-47bb-0310-9956-ffa450edef68
2016-06-17 13:16:39 +00:00
Pranay Pandey 2287cc71f4 [OFBIZ-7132] Applied slightly modified patch from the ticket. Added WebSiteAlias usage example to cmssite data.
Thanks Chandan Khandelwal for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748800 13f79535-47bb-0310-9956-ffa450edef68
2016-06-17 06:49:30 +00:00
Divesh Dutta a2446ef5c8 [OFBIZ-7180] Fixed:Completed Service Order Items are being allowed to be edited over SO and approved PO. Added condition in code so that cancelled and completed order items are not allowed to edit. Thanks Swapnil Shah for reporting the issue and thanks Ratnesh Upadhyay for provinding the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748567 13f79535-47bb-0310-9956-ffa450edef68
2016-06-15 12:13:21 +00:00
Pranay Pandey 79dc7983c6 [OFBIZ-7349] Fixed error on adding new term to an agreement after updating any existing term or adding new one. The reason of the error was hidden parameter for agreementTermId which already found set from parameters.
Thanks Amardeep Singh Jhajj for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748559 13f79535-47bb-0310-9956-ffa450edef68
2016-06-15 11:23:32 +00:00
Ashish Vijaywargiya 5a0666933d Applied patch from jira issue - OFBIZ-7277 - Date time field is not working properly in case of multiple parent category rollup.
Thanks Ravi for the contribution!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748532 13f79535-47bb-0310-9956-ffa450edef68
2016-06-15 09:53:51 +00:00
Pranay Pandey 52ac94d1b3 [OFBIZ-7337] Applied patch from the ticket. Ignored statusId field instead of showing it empty when a new quote is being created. It works with status valid change record for an existing quote.
Thanks Aditi Patidar for reporting the issue and providing patch.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748401 13f79535-47bb-0310-9956-ffa450edef68
2016-06-14 12:52:34 +00:00
Pranay Pandey 4d23e2d694 [OFBIZ-6328] Improved check on existing production runs for order so that createProductionRunsForOrder service considers cancelled production runs.
This service wasn't creating production runs whenever a WorkOrderItemFulfillment record exists even if workEffort.currentStatusId == "PRUN_CANCELLED". 

Thanks Christian Carlow for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748387 13f79535-47bb-0310-9956-ffa450edef68
2016-06-14 11:12:46 +00:00
Pranay Pandey 3a043fa7d2 [OFBIZ-7298] Fixed error on deletion of WorkEffort Request Item on ListWorkEffortRequests view. Corrected typo in map name passed to remove-value.
Thanks Amardeep Singh Jhajj for reporting the issue and providing patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748357 13f79535-47bb-0310-9956-ffa450edef68
2016-06-14 08:40:45 +00:00
Jacques Le Roux 1326c12156 A patch from Ankit Joshi for "http://docs.ofbiz.org/ is wrongly used in content" https://issues.apache.org/jira/browse/OFBIZ-7001
There are 31 occurrences and most use shortcuts. They should be converted to link to the current wiki, of course the previous shortcuts are no longer valid.
We need to replace them by hand, hence 1st find what the old shortcuts were, and then replace them with new shortcuts, or even better real links. We got bitten once by shortcuts, it's enough...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748260 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 15:23:37 +00:00
Jacques Le Roux 4a3f925ba2 A patch from Pierre Smits for "PDF reports in Agreements don't open in a new screen" https://issues.apache.org/jira/browse/OFBIZ-6688
Added target-window="_BLANK" to open pdf in new screen. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748223 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 13:29:25 +00:00
Pranay Pandey 31338f4673 [OFBIZ-7326] Made SequenceNum field editable on Edit Content Purpose form.
Thanks Amardeep Singh Jhajj for reporting the issue and providing patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748206 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 12:55:37 +00:00
Mridul Pathak 04e0bca729 [OFBIZ-7008] Support to add condition for Geo Location in Promo Engine. Adding back the code reverted in r1739637 as the tests were failing. Thanks Vishal Chhabria for providing the updated patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748186 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 12:02:27 +00:00
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 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 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 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 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 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
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 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
Ashish Vijaywargiya 43793ed0fa Applied patch from jira issue - OFBIZ-7216 - Error with GL Account Trial Balance pdf.
Thanks Ravi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747514 13f79535-47bb-0310-9956-ffa450edef68
2016-06-09 09:08:37 +00:00
Pranay Pandey ac7139d0a7 [OFBIZ-7261] Corrected typo to fix the error on "Review Order not Picked-Packed" button in Picking screen.
Thanks Amardeep Singh Jhajj for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747498 13f79535-47bb-0310-9956-ffa450edef68
2016-06-09 06:45:04 +00:00
Gil Portenseigne 4ea467458d OFBIZ-7205 : Create party resume not working. ResumeId doesn't have text field to enter
Fix the partyResume entity-one for EditPartyResumes screen
Fix use-when condition on partyId and submit fields in EditPartyResume form
Fix the edit and delete link to allow modification and refresh with partyId in context.


Thanks Amardeep Singh Jhajj for reporting the bug

Thanks Amardeep, Floriant, Pierre and Jacques for your analyse and input

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747462 13f79535-47bb-0310-9956-ffa450edef68
2016-06-08 22:40:13 +00:00