[Bug 42774] New: "sip2" permission missing on upgraded Koha if SIPconfig.xml file doesn't exist
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42774 Bug ID: 42774 Summary: "sip2" permission missing on upgraded Koha if SIPconfig.xml file doesn't exist Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: SIP2 Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org Bug 37893 is a really cool feature and I wanted to use it for a Koha instance I've upgraded to 25.11 where I'm setting up SIP2 for the first time. ...and I notice that I can't access the functionality in Administration. And the reason is because in 25.11, 26.05, and main installer/data/mysql/db_revs/250600035.pl skips the end of the db_revs if the SIPconfig.xml is missing. This makes sense, because there's no point trying to do a SIPconfig.xml to database migration if there is no SIPconfig.xml file. However... the oopsie is that at the very bottom of the script there are the following lines: $dbh->do( q{INSERT IGNORE INTO userflags (bit, flag, flagdesc, defaulton) VALUES (31, 'sip2', 'Manage SIP2 module', 0) } ); And if you don't have those lines... you don't have any sip2 permission... which means you can't *see* the link text "Self-service circulation (SIP2)" to take you to /cgi-bin/koha/sip2/sip2.pl -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42774 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Main |25.11 Depends on| |37893 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37893 [Bug 37893] Migrate some SIP configuration into the staff interface -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42774 --- Comment #1 from David Cook <dcook@prosentient.com.au> --- Created attachment 200004 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200004&action=edit Screenshot of what appears when upgrading to 25.11 or 26.05 without a SIPconfig.xml file -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42774 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #2 from David Cook <dcook@prosentient.com.au> --- When reporting it, bug 42053 didn't come up because the titles are very different... *** This bug has been marked as a duplicate of bug 42053 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org