(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
userPrefGroupTypeId in UserPreference entity
(OFBIZ-9678)
UserPreference.userLoginId is related to UserLogin.userLoginId.
UserPreference.userPrefGroupTypeId is related to
UserPrefGroupType.userPrefGroupTypeId.
Fixes tests by using one-nofk for UserLogin relation
Uses uppercase for fk-name as remarked by Deepak
Thanks: Aditya and Deepak
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809383 13f79535-47bb-0310-9956-ffa450edef68
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
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
userPrefGroupTypeId in UserPreference entity
UserPreference.userLoginId is related to UserLogin.userLoginId.
UserPreference.userPrefGroupTypeId is related to
UserPrefGroupType.userPrefGroupTypeId.
(OFBIZ-9678)
Thanks: Aditya
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809375 13f79535-47bb-0310-9956-ffa450edef68
(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
(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
(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
(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
Two fixes, remove duplication load of jquery/ui/js/jquery-ui-1.10.3.min.js and move moment-timezone-with-data.min.js, moment-with-locales.min.js and setUserLocale.js in screen action definition to escape js unresvolve variable.
Reorganize import like before the common-theme migration
Thanks to Rohit Rai, Jacques and Deepak for their help to find and resolve theses issues
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806792 13f79535-47bb-0310-9956-ffa450edef68
Instead of use the properties on the current theme, some ftl macro present in the file HtmlFormMacroLibary.ftl used a directl call to widget.properties.
To help the code reader, the modelTheme has been set on the root ftl context, and the previous widget.properties call replace by modelTheme call
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806742 13f79535-47bb-0310-9956-ffa450edef68
Display or not a description hasn't been loaded in the theme definition. I finished this migration to be sure to found all properties linked to lookups in the same place.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806741 13f79535-47bb-0310-9956-ffa450edef68
I detected that the jgrowl properties with a dot has been parsed by the FlexibleMapAccesor and failed to instanciate it correctly
So I convert the properties with dot to camelCase
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806740 13f79535-47bb-0310-9956-ffa450edef68
(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