Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Release 1.5.1, Release 1.6
-
Component/s: Formatting, Validation
-
Labels:None
Description
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
Attachments
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Ben Gunter [ bengunter ] |
| Attachment | stripes-STS-521.patch [ 10232 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Fix Version/s | Release 1.5.1 [ 10100 ] | |
| Fix Version/s | Release 1.6 [ 10090 ] | |
| Fix Version/s | Release 1.5 [ 10043 ] | |
| Resolution | Fixed [ 1 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |