Commit Graph
14503 Commits
Author SHA1 Message Date
Jacques Le Roux d403812811 Fixed: FTL Error in OrderView screen
(OFBIZ-9803)

Steps to regenerate:
1. Open OrderView screen.
2. Click on Edit Items under Actions section.
3. Now you can see the new section "Add To Order" where FTL error is generating.

jleroux: I have no ideas why this happens now. It's not happening in R16 which
si good and reassuring. So it's only a recently introduced regression. I hope
there are no others impacts...


Thanks: Renuka Srishti

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811061 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 10:00:26 +00:00
Jacques Le Roux 456ad70aca Improved: Add session tracking mode and make cookie secure
(OFBIZ-6655)

Programmatically replaces the web.xml <session-config> declarations and uses 
the @WebListener annotation to start the process. This avoid to duplicates 
things everywhere in web.xml files. Since the web.xml files have precedence 
on annotations, the setting can be easily overridden when necessary.

Now that we also use HTTPS in ecommerce the ecommerce session cookie is 
also secured.

I also noted that we had 8 weird <session-timeout> declarations:
    in solr component: <session-timeout>2</session-timeout>
    in themes: <session-timeout>1</session-timeout>

Also in Rainbowstone we lacked the <cookie-config> and <tracking-mode> 
declarations. I think it's not good.

I resolve these points by simply removing the <session-config> in web.xml files 
of themes and Solr.

Thanks: Pradhan Yash Sharma  for review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811041 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 07:12:57 +00:00
Akash Jain 3967201307 Fixed: 'Find Opportunities' field name is reflecting in place of 'Opportunity Id' on FindSalesOpportunity screen, applied patch from jira issue with some improvements (OFBIZ-9753)
Added opportunityName in search field list as it is showing in the search result.

Thanks, Parakh Maheshwari and Sonal Patwari for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1810102 13f79535-47bb-0310-9956-ffa450edef68
2017-09-29 14:11:56 +00:00
Akash Jain f97609925d Reverted: Found some improvements in code committed at r1809995. (OFBIZ-9753)
salesOpportunityId passed as hidden and search by opportunity-name instead of opportunity-id in original code.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1810004 13f79535-47bb-0310-9956-ffa450edef68
2017-09-28 14:18:40 +00:00
Akash Jain 6a89647d13 Fixed: 'Find Opportunities' field name is reflecting in place of 'Opportunity Id' on FindSalesOpportunity screen, applied patch from jira issue (OFBIZ-9753)
Thanks, Parakh Maheshwari and Sonal Patwari for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809995 13f79535-47bb-0310-9956-ffa450edef68
2017-09-28 13:53:00 +00:00
Rishi Solanki d8cae80589 Improvement: Missing FK constraints in OrderItem entity for ShoppingListItem (OFBIZ-9767). Added one-nofk relation from order item to shopping list item.
Thanks Chandan Khandelwal for reporting and providing patch for issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809971 13f79535-47bb-0310-9956-ffa450edef68
2017-09-28 10:46:00 +00:00
Jacques Le Roux 63938c6816 Improved: Add session tracking mode and make cookie secure
(OFBIZ-6655)

This completes r1809687, no need to secure when deleting. I will not backport

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809838 13f79535-47bb-0310-9956-ffa450edef68
2017-09-27 12:30:25 +00:00
Rishi Solanki 00260d1204 Improvement: Missing Relationship from OrderHeader to WebSite (OFBIZ-9647). Added relationship from order header to website entity. And removed wrong data.
Applied patch from (OFBIZ-9647). Thanks Ratnesh Upadhyay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809749 13f79535-47bb-0310-9956-ffa450edef68
2017-09-26 14:33:05 +00:00
Jacques Le Roux d56833ae7c Improved: Add session tracking mode and make cookie secure
(OFBIZ-6655)

This is somehow related with OFBIZ-6655 because it's there that Deepak reverted
r1719762 (actually r1719939). It was right to do so at r1722379 for 
RequesHandler but not for the other files. Because it now does not handle 
security for cookies which are not session cookies. It's minor but still a risk,
notably for autoLoginCookie

This reapplies r1719762 for the other files to make other than session cookies
secure. I will not backport


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809687 13f79535-47bb-0310-9956-ffa450edef68
2017-09-26 07:17:40 +00:00
Jacopo Cappellato 42ebfb325c Fixed: MRP incorrectly computes quantity already received in open purchase order
shipments.
(OFBIZ-9525)

The MRP algorithm incorrectly computed the quantity of items partially received 
in a purchase shipment because it leveraged the 
OrderReadHelper.getItemShippedQuantity(...) method that is intended to be used 
only to count the quantity shipped of sales order.

Thanks: Amit Gadaley for the patch to fix the issue..


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809594 13f79535-47bb-0310-9956-ffa450edef68
2017-09-25 09:11:24 +00:00
Akash Jain 3c6e98816e Fixed: Labels messed up because of missing UiLabels, applied patch from jira issue (OFBIZ-9745)
1) Navigate to SFA and search for contacts.
2) Move to Contact Profile detail screen.
3) Try following processes with UserLogin 
i) Create / Update User Login.
ii) Assign / Edit Security Group to the User Login.
Result: Several UX labels messed up because of missing UiLabels.

Thanks, Ankit Joshi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809429 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 14:06:56 +00:00
Arun Patidar df3aba2f65 ADDED: Apply new ruleSet definition into Ofbiz files. (OFBIZ-9515)
Thanks Pradhan Yash Sharma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809426 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 13:22:03 +00:00
Akash Jain a251752a3c Fixed: Error in payment address for purchase invoice via service createinvoicefororder, applied patch from jira issue (OFBIZ-9535)
Thanks, Gaudin Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809399 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 11:31:00 +00:00
Arun Patidar 580c40eedc FIXED: Fix type entities to follow convention of hasTable.(OFBIZ-9696)
Thanks Aman Agrawal for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809396 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 11:22:35 +00:00
Deepak Dixit 69a3268067 Improved: Moved OfbizUtil.js and fieldlookup.js from images to common-theme and made changes accordingly. (OFBIZ-5776)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809391 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 11:01:24 +00:00
Deepak Dixit 88493836bc Improved: Moved jquery related js/plugins from images to common-theme webapp and made changes accordinlgy. (OFBIZ-5776)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809389 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 10:41:28 +00:00
Jacques Le Roux 11aacff73f Improved: Required field indicator (*) is missing from create web site parties.
(OFBIZ-9754)

1. Go to content -> websites
2. Find websites and select a website from the list.
3. Required field indicator for party id is missing from create web site parties,
direct link,
content/control/EditWebSiteParties?webSiteId=WebStorePos


Thanks: Rohit Rai

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809387 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 10:24:01 +00:00
Rishi Solanki 3d29d37572 Improved: Extend SecurityGroup entity and add name/groupName field. Added groupName field to entity SecurityGroup and related changes done in the data, services and UI. (OFBIZ-9620)
Thanks Suraj Khurana for your patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809386 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 10:16:17 +00:00
Akash Jain 03c9e1e0d3 Improved: Required field indicator (*) is missing from the required field on create website form, applied patch from jira issue (OFBIZ-9739)
Thanks, Rohit Rai for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809381 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 09:18:55 +00:00
Akash Jain 23b5518087 Improved: Required field indicator (*) is missing from the required field on create website content form, applied patch from jira issue (OFBIZ-9741)
1. Go to Content -> WebSites
2. Select a website from the list of sites.
3. click on content from the submenu
4. Content Id is a required parameter for the service, a required field indicator must be placed on the form.
Thanks, Rohit Rai for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809379 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 09:06:13 +00:00
Jacques Le Roux 646b0d0f2a Improved: Required field indicator (*) is missing on the Add an
association section
(OFBIZ-9748)

1. Go to, Content.
2. Find contents using the find form and select any content from the list./
3. Click on the submenu "Association"
4. ContentIdTo and ContentAssocTypeId are required field in add association 
form, the indicator is missing from the UI.

Link to the form,
https://demo-trunk.ofbiz.apache.org/content/control/createContentAssoc

Thanks: Rohit Rai

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809378 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 08:43:11 +00:00
Jacques Le Roux 0dbe761b2c Improved: Required field indicator (*) is missing from the required field on
add content role.
(OFBIZ-9749)

1. Go to Content.
2. Find Content, select a content from the list.
3. Click on roles from the submenu

Content Id, Role Type Id and party Id are required fields, required field 
indicators are missing from the UI. 
createContentRole service throws an error if the fields are missing.

Here is the link to the form,
https://demo-trunk.ofbiz.apache.org/content/control/addContentRole

Thanks: Rohit Rai

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809377 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 08:34:52 +00:00
Deepak Dixit 7dff826899 Improved: Merge extended entity definition in data model component into the existing entity definition (OFBIZ-9581)
Thanks Aditya Sharma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809376 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 08:29:21 +00:00
Akash Jain 3da346ed1a Fixed: FacilityId should be mandatory for Create Inventory Item form in EditInventoryItem screen, applied patch from jira issue (OFBIZ-9499)
Thanks Renuka Srishti for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1808834 13f79535-47bb-0310-9956-ffa450edef68
2017-09-19 08:00:20 +00:00
Arun Patidar 1068a929d1 FIXED: UI issue in Lead Lookup on find opportunity. (OFBIZ-9477)
Thanks Jagpreet for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1807890 13f79535-47bb-0310-9956-ffa450edef68
2017-09-09 12:49:46 +00:00
Akash Jain a0d2bf9c59 Fixed: Creating Lead Source from profile page it redirects to empty profile page, applied patch from jira issue (OFBIZ-9553)
Additional change: dataSourceId made a required field.
Thanks  Aditya Sharma for your contribution


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1807597 13f79535-47bb-0310-9956-ffa450edef68
2017-09-07 12:23:14 +00:00
Jacques Le Roux 4059b9f8f2 Fixed: Fix Default or Empty Catch block in Java and Groovy files
(OFBIZ-8341)

In many Java and Groovy files we have auto generated catch blocks or empty catch 
blocks. 
To avoid such exception swallowing this should be improved to at least log the 
error and also return error in case of service.

jleroux: I can't see what we could do more here, unlikely anyway

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1807240 13f79535-47bb-0310-9956-ffa450edef68
2017-09-04 15:12:23 +00:00
Jacques Le Roux 026d3b9511 no functional change, changes a French label to be consistent with other places
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1807204 13f79535-47bb-0310-9956-ffa450edef68
2017-09-04 09:39:00 +00:00
Jacques Le Roux e8a3c6f3d5 Fixed: Fix Default or Empty Catch block in Java and Groovy files
(OFBIZ-8341)

In many Java and Groovy files we have auto generated catch blocks or empty catch 
blocks. 
To avoid such exception swallowing this should be improved to at least log the 
error and also return error in case of service.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1807162 13f79535-47bb-0310-9956-ffa450edef68
2017-09-03 19:27:49 +00:00
Jacques Le Roux 8cdb6010a1 Fixed: Fix references where Mime type is displayed in HTML encoded pattern
(OFBIZ-9644)

I found various instances where the mimeTypeId is displayed in HTML 
encoded pattern over UI.

jleroux: this also removes 2 duplicated fields in AddLayout form

Thanks: Ankit Joshi

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806951 13f79535-47bb-0310-9956-ffa450edef68
2017-09-01 12:49:04 +00:00
Jacques Le Roux 83d0294118 Reverts revision: 1806947, changes in UserEvents.xml inadvertently slipped in
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806948 13f79535-47bb-0310-9956-ffa450edef68
2017-09-01 12:42:11 +00:00
Jacques Le Roux 7be7ad6179 Fixed: Fix references where Mime type is displayed in HTML encoded pattern
(OFBIZ-9644)

I found various instances where the mimeTypeId is displayed in HTML 
encoded pattern over UI.

jleroux: this also removes 2 duplicated fields in AddLayout form

Thanks: Ankit Joshi

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806947 13f79535-47bb-0310-9956-ffa450edef68
2017-09-01 12:38:47 +00:00
Deepak Dixit b6bcecd716 Fixed: Typo introduced in r#1806326 (OFBIZ-9607)
Thanks Rohit Rai for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806714 13f79535-47bb-0310-9956-ffa450edef68
2017-08-30 17:18:30 +00:00
Rishi Solanki 26deb124f5 Fixed: Party Communication Screen is broken (OFBIZ-9670). Issue was due to missing closing quotes in from-field attribute of set field tag. Thanks Ratnesh Upadhyay for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806700 13f79535-47bb-0310-9956-ffa450edef68
2017-08-30 15:22:07 +00:00
Jacques Le Roux af658aee33 Fixed: Unable to create Customer
(OFBIZ-9649)

Steps to regenerate:
1. Go to Party Component 
	(https://demo-trunk-ofbiz.apache.org:8443/partymgr/control/main)
2. Create on *Create Customer* sub-menu 
	(https://demo-trunk-ofbiz.apache.org:8443/partymgr/control/NewCustomer)
3. Fill all the required fields and click on save button

On further exploring, I found that the HashCrypt.getDigestHash() method doesn't 
exist in HashCrypt.java. The method existed in the earlier version of Ofbiz 
(Ofbiz-16.12):

Expected result: Customer should be created successfully.
Actual result: An error is thrown

Aditya Sharma:  Hi Ayushi,
I think methods were removed at revision 1804880 by Jacques as they were 
deprecated methods which can be replaced with digestHash() methods.
Refer the link: http://markmail.org/message/c6d7ukjaldzpng7l

jleroux: I found another case in UserEvents.xml. I also formatted things a bit

Thanks: Ayushi Rathod for the finding analysis, and patch, Aditya for helping 
Ayushi 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806332 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 21:17:45 +00:00
Deepak Dixit 29461cdc47 Fixed: Found some more vlaue=dollor pattern in set element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806329 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 20:33:37 +00:00
Deepak Dixit 1a7aee6685 Improved:Use from-field pattern instead of value=dollor pattern in 'set' element
Apply slightly modified patch from jira issue, fixed some typo (OFBIZ-9607)
Thanks Suraj Khurana and Rohit Rai for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806326 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 20:23:40 +00:00
Deepak Dixit ccba2a3404 Manufacturing : Remove unused imports from groovy files for code optimization.
Applied slightly modified patch from jira issue (OFBIZ-9510)
Thanks  Suraj Khurana and Pradeep Choudhary for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806323 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 19:36:42 +00:00
Arun Patidar dda636e2a0 Improved: Wrong success message after creating lead in sfa component. (OFBIZ-9518).
Thanks Jagpreet Kaur and Parakh Maheshwari

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806283 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 10:34:08 +00:00
Arun Patidar 9438d045e9 Improvement: User should be notified with success message on adding note for party in party component. (OFBIZ-9538)
Thanks Aditya Sharma and Anushi Gupta for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806280 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 09:29:55 +00:00
Rishi Solanki 3b90303a43 Improvement: Move all data in applications to the datamodel component. (OFBIZ-9501)
Move parent type to data model component and childs back to workeffort as it seems to be related to project plugin. This will fix the issue of data loading.
Thanks Aditya Sharma for reporting the problem.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806279 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 09:27:33 +00:00
Arun Patidar 9f79aba04a When creating New Lead, Lead Source should be associated with the Lead. (OFBIZ-9588)
Thanks Aditya Sharma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806278 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 09:24:13 +00:00
Deepak Dixit 90181172a1 Fixed: Updated images component reference path, as we removed images component and now these files are part of common-theme componnet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806273 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 08:30:02 +00:00
Rishi Solanki d5eb2cee42 Improvement: Move all data in applications to the datamodel component. (OFBIZ-9501)
Moved the data which belongs to product with seed reader.
Thanks Saurabh Jain for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806267 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 07:39:19 +00:00
Rishi Solanki 63852a97ae Improvement: Move all data in applications to the datamodel component. (OFBIZ-9501)
Moved the data which belongs to workeffot with seed reader.
Thanks Prakhar Kumar for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806265 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 07:33:06 +00:00
Deepak Dixit ea5d994b78 Improved: Content : Remove unused imports from groovy files for code optimization.(OFBIZ-8487)
Thanks Suraj Khurana and Pradeep Choudhary for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806264 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 07:21:00 +00:00
Pranay Pandey 4112c8e904 Fixed: Lead Profile URL not working properly in SFA.
(OFBIZ-9512)

Fixed it at all the places found in SFA where roleTypeId wasn't being passed and creating the issue.

Thanks Jagpreet Kaur for reporting and verifying the issue, thanks Parakh Maheshwari and Devanshu Vyas for reviewing and providing details on their finding and thanks Aditya Sharma for providing the patch.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806261 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 06:23:57 +00:00
Rishi Solanki b0651cbe4d Improvement: Move all data in applications to the datamodel component. (OFBIZ-9501)
Moved the data which belongs to content with seed reader.
Thanks Saurabh Dixit for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806258 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 05:54:15 +00:00
Deepak Dixit fc6a8136f6 Fixed some console warning related to in-correct use of type-validate attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806153 13f79535-47bb-0310-9956-ffa450edef68
2017-08-25 11:04:07 +00:00
Nicolas Malin 40fdd2ca73 Implemented: Continue the common-theme upload (OFBIZ-9138 Create a common theme)
Five step 
#9 Change all set screen and script that call widget.properties values replaced by call to modelTheme

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806150 13f79535-47bb-0310-9956-ffa450edef68
2017-08-25 10:02:34 +00:00