[Bug 257885] New: login to api is case-insensitive, but userid attributes not
https://bugzilla.novell.com/show_bug.cgi?id=257885 Summary: login to api is case-insensitive, but userid attributes not Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: BuildService AssignedTo: abauer@novell.com ReportedBy: mmarek@novell.com QAContact: adrian@novell.com My username is 'michal-m' $ grep -i michal ~/.oscrc user: MICHAL-M $ osc ls openSUSE:tools build kiwi obs-server osc perl-Socket-MsgHdr richclient # so osc can login with the uppercase username, but $ osc createprj home:michal-m:zzz Error: can't PUT 'https://api.opensuse.org/source/home:michal-m:zzz/_meta' reply: 500 Debugging output follows. url: https://api.opensuse.org/source/home:michal-m:zzz/_meta headers: Content-Type: text/html; charset=utf-8 Content-Length: 2993 Pragma: no-cache response: Internal Server Error Sending meta data... Done. When testing with a local install (this is how I found the bug, I confused admin and Admin), the frontend throws an error starting with ActiveRecord::StatementInvalid (Mysql::Error: Duplicate entry '7-1-1' for key 2: INSERT INTO project_user_role_relationships (`bs_role_id`, `db_project_id`, `bs_user_id`) VALUES(1, 7, 1)): -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=257885 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- 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