[Bug 657644] New: webui fail to display status monitor if statusmessage is from deleted user
https://bugzilla.novell.com/show_bug.cgi?id=657644 https://bugzilla.novell.com/show_bug.cgi?id=657644#c0 Summary: webui fail to display status monitor if statusmessage is from deleted user Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: General AssignedTo: adrian@novell.com ReportedBy: jansimon.moeller@opensuse.org QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.12) Gecko/20101026 SUSE/3.6.12-0.7.1 Firefox/3.6.12 OBS Web Interface Error: Error Details: Errorcode: unknown Message: uncaught exception: undefined method `login' for nil:NilCl from log: [F|# 5609] ActiveXML::Transport::Error (<?xml version="1.0" encoding="UTF-8"?> <status code="unknown"> <summary>uncaught exception: undefined method `login' for nil:NilClass</summary> <details></details> </status> ): lib/common/activexml/transport.rb:545:in `handle_response' lib/common/activexml/transport.rb:527:in `http_do' lib/common/activexml/transport.rb:326:in `find' lib/common/activexml/base.rb:107:in `find_priv' lib/common/activexml/base.rb:124:in `find' app/controllers/monitor_controller.rb:91:in `get_status_messages' app/controllers/monitor_controller.rb:27:in `index' public/dispatch.fcgi:24 Reproducible: Always Steps to Reproduce: 1. create user (needs admin for status messages on monitor page) 2. enter new status message in monitor page 3. delete this user Actual Results: Webui refuses to render the page. Expected Results: Rendering page with messages muted or userid "unknown". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=657644 https://bugzilla.novell.com/show_bug.cgi?id=657644#c1 Jan-Simon Möller <jansimon.moeller@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jansimon.moeller@opensuse.o | |rg --- Comment #1 from Jan-Simon Möller <jansimon.moeller@opensuse.org> 2010-12-07 13:38:23 UTC --- This is also true for other operations (api: test_resubmit_fixtures). We don't handle deleted users gracefully in some places. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=657644 https://bugzilla.novell.com/show_bug.cgi?id=657644#c2 Jan-Simon Möller <jansimon.moeller@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Jan-Simon Möller <jansimon.moeller@opensuse.org> 2010-12-29 09:12:22 UTC --- Might be due to inconsistent user-delete in api admin interface. Webui side fixed by 02b2ce440e95af61f14f763c4e9405499353067c . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=657644 https://bugzilla.novell.com/show_bug.cgi?id=657644#c3 Adrian Schröter <adrian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #3 from Adrian Schröter <adrian@novell.com> 2010-12-29 09:20:28 UTC --- the change broke test cases in api, so it got reverted. It may can get improved, but I wonder if we really want to allow user deletion. We disabled that in the API IIRC for security and data consitency reasons. How got the user deleted ? Via LDAP connection ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=657644 https://bugzilla.novell.com/show_bug.cgi?id=657644#c4 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #4 from Adrian Schröter <adrian@suse.com> 2013-03-04 10:27:45 UTC --- we only allow user to be marked as deleted meanwhile. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com