---- Reported by m.de.rooy@rijksmuseum.nl 2010-05-17 11:28:24 ---- If you have a record on another framework, clicking on framework Default does not work. The editor jumps back to the previous framework. Two small adjustments in addbiblio.pl and associated template addbiblio.tmpl resolve the problem. See patch sent. --- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:28 UTC --- This bug was previously known as _bug_ 4513 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4513 Actual time not defined. Setting to 0.0 Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
I run into this problem in my dev installation today. The problem did only exist with German templates, after I recreated them the problem was gone. I think some recent change must have fixed this problem. Closing bug. -- Link to Marcel de Rooy's patch (just in case bug reappears) http://lists.koha-community.org/pipermail/koha-patches/2010-May/011855.html
(In reply to comment #1) > I run into this problem in my dev installation today. The problem did only > exist with German templates, after I recreated them the problem was gone. > I think some recent change must have fixed this problem. > Closing bug. > -- > Link to Marcel de Rooy's patch (just in case bug reappears) > http://lists.koha-community.org/pipermail/koha-patches/2010-May/011855.html Please note: Status is resolved/fixed. Patch has been incorporated in Koha 3.0.x with commit cf292b6ae3c41ce348e8beb27964d9ef943f6731.
This problem is still or again? present in master. Sending a revised patch. Test this patch by opening a biblio saved in e.g. books framework. Change the framework in Staff Cataloging back to Default and save. Open the biblio again and check if it really has been set to Default.
Created attachment 4125 [details] [review] Patch
Patch applies, but doesn't work as expected. I opened a record and changed it from default to 'books' and saved. I then opened it again and changed from 'books' to 'default' and saved. I then opened it again to find that it still had 'books' as the framework.
(In reply to comment #5) > Patch applies, but doesn't work as expected. > > I opened a record and changed it from default to 'books' and saved. I then > opened it again and changed from 'books' to 'default' and saved. I then opened > it again to find that it still had 'books' as the framework. Oops, that doesn't sound good. I tested it and it seemed to work with the following note: When you reopened the record and changed the framework to books, did you wait long enough for the server to respond and did you click Save when the page was reloaded? I stumbled over this, when I changed framework and immediately clicked Save.
Resetting the status of this patch to Needs signoff. It works when following comment6. That you should wait for the reloaded page, is not the issue of this bug.
Bug cannot be reproduced anymore in 3.5 (only in 3.3). Adjusted addbiblio.pl line $frameworkcode = &GetFrameworkCode($biblionumber) if ( $biblionumber and not($frameworkcode) and $op ne 'addbiblio' ); seems to resolve it. See also bug 6067.