[ 
https://issues.apache.org/jira/browse/OFBIZ-13279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18010859#comment-18010859
 ] 

ASF subversion and git services commented on OFBIZ-13279:
---------------------------------------------------------

Commit 81a1ed6dfdfa56dc08aff311668a7b378adef464 in ofbiz-framework's branch 
refs/heads/trunk from Lukas-Finster
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=81a1ed6dfd ]

Fixed: ScreenFopViewHandler-check-adding-PDFEncryption (OFBIZ-13279) (#903)

Fixed: Missing not in check for adding PDFEncryption (OFBIZ-13279)

This adds a missing (not) in check if PDF encryption should be used
after editing

Thanks: Martin Becker

> Bugfix-ScreenFopViewHandler-check-adding-PDFEncryption
> ------------------------------------------------------
>
>                 Key: OFBIZ-13279
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13279
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework/widget
>            Reporter: Lukas Finster
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Missing "!" (not) in condition for allowEditContent leads to unwanted 
> addition of encryption:
> {{*if* (UtilValidate.isNotEmpty(userPassword) || 
> UtilValidate.isNotEmpty(ownerPassword) || !allowPrint || !allowCopyContent || 
> allowEditContent || !allowEditAnnotations) {}}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to