[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search

CLDR Ticket #9560(accepted survey)

Opened 22 months ago

Last modified 2 weeks ago

spurious 'account is locked' for guest users

Reported by: srl Owned by: frontend
Component: survey-ui-design Data Locale:
Phase: rc Review:
Weeks: Data Xpath:


Really not sure why userIsLocked was implemented such in r10577
but guest users see a "YOUR ACCOUNT IS LOCKED!" message under the gear, but are still able to vote.

(actual locked users get pretty much a blank page.)

The fix is trivial.

Index: tools/cldr-apps/WebContent/WEB-INF/tmpl/ajax_status.jsp
--- tools/cldr-apps/WebContent/WEB-INF/tmpl/ajax_status.jsp	(revision 12706)
+++ tools/cldr-apps/WebContent/WEB-INF/tmpl/ajax_status.jsp	(working copy)
@@ -117,7 +117,7 @@
         userCanUseVettingSummary: <%= UserRegistry.userCanUseVettingSummary(myUser) %>,
         userIsTC: <%=UserRegistry.userIsTC(myUser) %>,
         userIsVetter: <%= !UserRegistry.userIsTC(myUser) && UserRegistry.userIsVetter(myUser)%>,
-        userIsLocked: <%= !UserRegistry.userIsTC(myUser) && !UserRegistry.userIsVetter(myUser) && !UserRegistry.userIsLocked(myUser)%>,
+        userIsLocked: <%= UserRegistry.userIsLocked(myUser) %>,
         hasFlag: <%= haveFlags %>,
         hasDataSource: <%= curSurveyMain.dbUtils.hasDataSource() %>,


Change History

comment:1 Changed 22 months ago by mark

  • Owner changed from anybody to srl
  • Phase changed from dsub to rc
  • Priority changed from assess to major
  • Status changed from new to accepted
  • Milestone changed from UNSCH to 30

comment:2 Changed 20 months ago by srl

  • Owner changed from srl to parth
  • Type changed from unknown to survey
  • Component changed from unknown to survey-ui-design
  • Milestone changed from 30 to 31

comment:3 Changed 15 months ago by emmons

  • Milestone changed from 31 to 32

comment:4 Changed 7 months ago by emmons

  • Owner changed from parth to frontend

comment:5 Changed 7 months ago by mark

  • Milestone changed from 32 to 33

Moving frontend bugs to next release

comment:6 Changed 2 months ago by mark

  • Milestone changed from 33 to 34

comment:7 Changed 2 weeks ago by kristi

  • Keywords STGEN added

Add a comment

Modify Ticket

as accepted

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.