[Koha-bugs] [Bug 7924] New: koha-remove fails (in a different way) when dropping user

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 9 02:32:24 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7924

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 7924
          Assignee: gmcharlt at gmail.com
           Summary: koha-remove fails (in a different way) when dropping
                    user
        QA Contact: koha.sekjal at gmail.com
          Severity: enhancement
    Classification: Unclassified
                OS: Linux
          Reporter: koha-bugzilla at pkturner.org
          Hardware: PC
            Status: NEW
           Version: rel_3_6
         Component: Installation and upgrade (command-line installer)
           Product: Koha

Created attachment 9030
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9030&action=edit
koha-remove change I used as a workaround

root:~# koha-remove library
Removing Koha instance --
ERROR 1396 (HY000) at line 1: Operation DROP USER failed for 'koha_--'@'%'
root:~#

The koha-remove shell script aborts upon this attempt. It has a list consisting
of -- and 'library', and does not get so far as to attempt 'library'.

I worked around this by saving the original value of "$@" because it appeared
to me that "set -- $args" was corrupting the subsequent use of "$@".  See
attached patch.

Debian squeeze,
bash 4.1-3

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list