After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709286 - "TypeError: AuthPrompt.MessageType is undefined" in recent gnome-shell builds
"TypeError: AuthPrompt.MessageType is undefined" in recent gnome-shell builds
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: login-screen
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: Ray Strode [halfline]
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-10-02 17:07 UTC by Adam Williamson
Modified: 2013-10-02 17:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
longer log extract (grep -30) (9.79 KB, text/plain)
2013-10-02 17:07 UTC, Adam Williamson
  Details
loginDialog: MessageType is now in GdmUtil (991 bytes, patch)
2013-10-02 17:10 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Adam Williamson 2013-10-02 17:07:27 UTC
Created attachment 256300 [details]
longer log extract (grep -30)

I've noticed this error in my system logs in boots today in Fedora 20, with gnome-shell-3.10.0.1-1.fc20.x86_64 :

Oct 02 12:09:15 vaioz.happyassassin.net gnome-session[1388]: (gnome-shell:2261):
 Gjs-WARNING **: JS ERROR: Exception in callback for signal: login-format-change
d: TypeError: AuthPrompt.MessageType is undefined

This seems to be fallout from changes halfline's been making recently to authPrompt.js - he introduced this AuthPrompt.MessageType stuff and then moved things around a bit in recent commits to that file and loginDialog.js, so I think maybe one of those changes is bad. A longer extract from my logs will be attached.

I'm not sure if this bug has any serious consequences (I think it prevents the realm login hint from being shown) - logind is not working for me today, but that happens with lightdm/xfce too, so I don't think it has anything to do with this bug.
Comment 1 Adam Williamson 2013-10-02 17:07:58 UTC
er, that's js/gdm/authPrompt.js and js/gdm/loginDialog.js .
Comment 2 Jasper St. Pierre (not reading bugmail) 2013-10-02 17:10:10 UTC
Created attachment 256302 [details] [review]
loginDialog: MessageType is now in GdmUtil
Comment 3 Giovanni Campagna 2013-10-02 17:11:57 UTC
Review of attachment 256302 [details] [review]:

I was about to attach the same.
Comment 4 Jasper St. Pierre (not reading bugmail) 2013-10-02 17:58:21 UTC
Attachment 256302 [details] pushed as 8737b06 - loginDialog: MessageType is now in GdmUtil