ModelFormField#getCurrentContainerId rather than
ModelFormField#getIdName to ensure any FlexibleStringExpander expression
defined in the field's id-name property is processed before rendering
into the container FTL macro.
(OFBIZ-4035)
components
(OFBIZ-4956)
Currently there are some URLs present in application components with
auth="false". So anyone can hit these URLs and access these resources without
authorization.
I think all the URLs should be secure with auth="true"
jleroux: I have also fixed the dataResourceId="GZ-DIG"
Thanks: Amardeep Singh Jhajj for report and initial fix
(OFBIZ-10231)
After groovy conversion the method productPriceGenericPermission failed to validate a user
Problem due to bad call on hasEntityPermission instead of hasPermission
(OFBIZ-10231)
After groovy conversion the method checkProductRelatedPermission
has been broken for other minilang method that didn't converted.
To solve this problem, I created new permission service checkProductRelatedPermission
and convert all previous minilang method call by a permission service on the related service call
(OFBIZ-11440)
During refactoring (OFBIZ-7113), the service reader used two different methods to read a
permission service definition if is present alone or in a group. For the alone version a link
was missing between the service and the permission service to resolve correctly the permission.
To solve this problem I reorganized to use only one method to initialize a service model permission.
Other point, an attribute renaming was missed : action -> permissionMainAction, when service permission call was called
Last, these problems weren't detected before due to missing unit test on failure service permission, now cover.
Improved: no functional change
(OFBIZ-10231)
ProductServices.xml has been removed while
createProductPrice still refers to an inexisting PriceServices.xml
createProductPrice is not implemented in Groovy, there is no PriceServices.groovy
This just adds it temporarily, waiting for a correct and complete fix
unused services
(OFBIZ-11393)(OFBIZ-11394)
They were introduced by Al Byers in 2007 and, like some other stuff done then
by Al, were never used. We can safely close the 2 related issues as won't do
after removing the 2 services and all the references to them.
Thanks: Priya Sharma
(OFBIZ-11437)
Alter the parent type and descriptions of existing Incoterm TermTypes to
indicate the version of Incoterms they relate to.
Added new Incoterm TermTypes and descriptions correspoding to the
Incoterms 2020 set.
(OFBIZ-10231)
No functional change
This commit contains multiple refactoring to decrease code quantity :
* use groovy syntax for empty/not empty value
* use kelvin syntax
* exploit DSL syntax and EntityQuery as possible
* refactoring redundant "if block"
* remove unnecessary transfer variable
Thanks to Gil Portenseigne for help my as his second eye
(OFBIZ-11428)
Setting checkstyle to use LF line endings means that a newline at the
end of a source file is correctly detected no matter whether it is
checked out with LF or CRLF line endings.
target parameters
(OFBIZ-11418)
Changed target-parameter attribute of the form widget's Lookup field to
use the FlexibleStringExpander type rather than String. This has been
done to allow reference to other form fields which may have had their
parameter-name attribute set to a FlexibleStringExpander expression.
(OFBIZ-11423)
Following discussions
* AsciiDoc generated online documentation and releases
* New Online Help, need some ideas
threads on dev ML
I propose as suggested Oliver to put TOCs at the left. If I refer to
https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/119
toc: 'left@'
should be put in the main build.gradle
Thanks: Olivier Heintz for the suggestion
(OFBIZ-10571)
Following refactoring done -
-- Refactored code to fall in line with some java standards.
-- Based on FindBugs suggestion, refactored some classes to have static nested classes instead of inner class.
Thanks Girish Vasmatkar for reporting the issue and providing the patch.
(OFBIZ-11376)
I could not find any references for this service in the code base, i.e. this
service has not been used anywhere, do we still want to keep it?
Thanks: Devanshu Vyas for report, Priya Sharma for the proposition and the fix
connection-locks
(OFBIZ-11312)
The method DatabaseUtil.getColumnInfo(...) uses an elaborate algorithm using a
List<Future<AbstractCountingCallable>> object. This does not work properly as it
runs into connection-locks. When debugging the error does not occur. I assume
that the slower pace of debugging prevents the error.
Thanks: Benjamin Jugl