Skip to content
Permalink
Browse files

Fixed: Down the log level to inform to use genericBasePermissionCheck

After the migration of genericBasePermissionCheck from mini-lang to groovy, I set a warning message to inform that we need to migrate simple-method call.

But this simple-method is massively use on standard mini-lang script and finally populate with non interesting inform the log in production site.

I down the level to inform only on development state

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868581 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
nmalin committed Oct 18, 2019
1 parent 193280a commit 1c1daf855a96caa1c59f583cd17d7704bf1f3d60
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/common/minilang/permission/CommonPermissionServices.xml
@@ -56,7 +56,7 @@ under the License.
<property-to-field resource="CommonUiLabels" property="CommonPermissionThisOperation" field="resourceDescription"/>
</if-empty>

<log level="warning" message="This simple-method-call is deprecated! Please use a service-call of genericBasePermissionCheck instead."/>
<log level="info" message="This simple-method-call is deprecated! Please use a service-call of genericBasePermissionCheck instead."/>
<set field="inParams.altPermission" from-field="altPermission"/>
<set field="inParams.mainAction" from-field="parameters.mainAction"/>
<set field="inParams.primaryPermission" from-field="primaryPermission"/>

0 comments on commit 1c1daf8

Please sign in to comment.
You can’t perform that action at this time.