[ 
http://www.stripesframework.org/jira/browse/STS-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter closed STS-521.
--------------------------


> NPE decrypting null value with @Validate(encrypted=true)
> --------------------------------------------------------
>
>                 Key: STS-521
>                 URL: http://www.stripesframework.org/jira/browse/STS-521
>             Project: Stripes
>          Issue Type: Bug
>          Components: Formatting, Validation
>            Reporter: Ben Gunter
>            Assignee: Ben Gunter
>             Fix For: Release 1.5.1, Release 1.6
>
>         Attachments: stripes-STS-521.patch
>
>
> From the users mailing list...
> Hi Christian,
> I guess the value of the field was null when it's rendered, wasn't it?
> It seems that encrypted field must have a non-null value when it is 
> rendered.
> In my last project, I removed the field when the value is null to 
> workaround the issue.
> <c:if test="${!empty actionBean.user.id}">
> <stripes:hidden name="user.id" />
> </c:if>
> --
> IMHO, it would be nice if null value is encrypted in the same way as 
> normal value because I often use the same form for both editing an 
> existing instance and creating a new instance (as most of you, I suppose).
> Any thoughts?
> Regards,
> Iwao

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to