Merge lp:~slub.team/goobi-production/bug-1020941 into lp:goobi-production/1.8

Proposed by Ralf Claussnitzer
Status: Rejected
Rejected by: Ralf Claussnitzer
Proposed branch: lp:~slub.team/goobi-production/bug-1020941
Merge into: lp:goobi-production/1.8
Diff against target: 55 lines (+14/-3)
3 files modified
config/messages_de.properties (+1/-0)
config/messages_en.properties (+1/-0)
newpages/BenutzerBearbeiten.jsp (+12/-3)
To merge this branch: bzr merge lp:~slub.team/goobi-production/bug-1020941
Reviewer Review Type Date Requested Status
Henning Gerhardt Disapprove
Matthias Ronge Pending
Review via email: mp+130669@code.launchpad.net

Description of the change

Adds an additional password field for confirmation, so that the browser does not handle the form as an login form anymore. However, due to Tomahawk restrictions the validation message cannot be localized (see known issues: http://myfaces.apache.org/sandbox/tagdoc/s_validateCompareTo.html). For proper localization, a custom validation tag must be defined.

To post a comment you must log in.
Revision history for this message
Henning Gerhardt (henning-gerhardt) wrote :

It does not work for me with Iceweasel 16.0.1 on Debian Linux.

Dialog for saving user / password appears on any action on this site. Only disabling storing of passwords or form completion work around this behaviour.

It iss for me not a real bug: comfort behaviour (storing and reusing of passwords) of modern browsers create this.

review: Disapprove

Unmerged revisions

111. By Ralf Claussnitzer

adds confirmation password field

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'config/messages_de.properties'
2--- config/messages_de.properties 2012-09-19 12:32:15 +0000
3+++ config/messages_de.properties 2012-10-20 13:07:24 +0000
4@@ -527,6 +527,7 @@
5 passwortAendern=Passwort \u00E4ndern
6 passwortGeaendert=Das Passwort wurde erfolgreich ge\u00E4ndert.
7 passwortUngueltig=Passwort ung\u00FCltig
8+passwortWiederholen=Passwort (wiederholen)
9 path=Pfad
10 personBearbeiten=Person bearbeiten
11 personen=Personen
12
13=== modified file 'config/messages_en.properties'
14--- config/messages_en.properties 2012-09-19 12:32:15 +0000
15+++ config/messages_en.properties 2012-10-20 13:07:24 +0000
16@@ -527,6 +527,7 @@
17 passwortAendern=Change password
18 passwortGeaendert=The password has been changed.
19 passwortUngueltig=Incorrect password
20+passwortWiederholen=Password (repeat)
21 path=Path
22 personBearbeiten=Edit person
23 personen=Persons
24
25=== modified file 'newpages/BenutzerBearbeiten.jsp'
26--- newpages/BenutzerBearbeiten.jsp 2012-08-07 09:54:37 +0000
27+++ newpages/BenutzerBearbeiten.jsp 2012-10-20 13:07:24 +0000
28@@ -144,15 +144,24 @@
29 </h:panelGroup>
30
31 <%-- passwort --%>
32- <h:outputLabel for="passwort" value="#{msgs.passwort}" />
33+ <h:outputLabel for="password" value="#{msgs.passwort}" />
34 <h:panelGroup>
35- <h:inputSecret redisplay="true" id="passwort"
36+ <h:inputSecret redisplay="true" id="password"
37 style="width: 300px;margin-right:15px"
38 value="#{BenutzerverwaltungForm.myClass.passwortCrypt}"
39 required="true" />
40- <x:message for="passwort" style="color: red"
41+ <x:message for="password" style="color: red"
42 replaceIdWithLabel="true" />
43 </h:panelGroup>
44+ <h:outputLabel for="passwordConfirm" value="#{msgs.passwortWiederholen}" />
45+ <h:panelGroup>
46+ <h:inputSecret redisplay="true" id="passwordConfirm"
47+ value="#{BenutzerverwaltungForm.myClass.passwortCrypt}"
48+ style="width: 300px;margin-right:15px" required="true">
49+ <x:validateEqual for="password" message="Passwords do not match."/>
50+ </h:inputSecret>
51+ <x:message for="passwordConfirm" style="color: red" />
52+ </h:panelGroup>
53
54 <%-- LdapGruppe --%>
55 <h:outputLabel

Subscribers

People subscribed via source and target branches

to all changes: