Bug 25402 was supposed to have depended on Bug 5087 but somehow that got missed during QA. The result is that the OPAC cart is completely broken, giving this error when the cart window is opened: DBIx::Class::Storage::DBI::_dbh_execute(): Unknown column 'opac_option' in 'where clause' at /kohadevbox/koha/Koha/Objects.pm line 144 at /usr/share/perl5/DBIx/Class/Exception.pm line 77
Created attachment 107012 [details] [review] Bug 26005: OPAC cart display fails with error This patch removes the "opac_option" parameter from opac-basket.pl. It was included in Bug 25402 because the bug was dependent on 5087. To test, apply the patch and add some items to the Cart in the OPAC. Click the Cart button to show the cart. The pop-up window should load correctly without errors.
Created attachment 107086 [details] [review] Bug 26005: OPAC cart display fails with error This patch removes the "opac_option" parameter from opac-basket.pl. It was included in Bug 25402 because the bug was dependent on 5087. To test, apply the patch and add some items to the Cart in the OPAC. Click the Cart button to show the cart. The pop-up window should load correctly without errors. Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Created attachment 107088 [details] [review] Bug 26005: OPAC cart display fails with error This patch removes the "opac_option" parameter from opac-basket.pl. It was included in Bug 25402 because the bug was dependent on 5087. To test, apply the patch and add some items to the Cart in the OPAC. Click the Cart button to show the cart. The pop-up window should load correctly without errors. Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Out of the scope of this bug: why did we loose control on which profiles can be used in the OPAC? I will file a bug for that. The current implementation doesn't allow to limit which profiles to offer the end-user.
Pushed to master for 20.11, thanks to everybody involved!
(In reply to Tomás Cohen Arazi from comment #4) > Out of the scope of this bug: why did we loose control on which profiles can > be used in the OPAC? I will file a bug for that. The current implementation > doesn't allow to limit which profiles to offer the end-user. Hi, what profiles do you mean?
(In reply to Katrin Fischer from comment #6) > (In reply to Tomás Cohen Arazi from comment #4) > > Out of the scope of this bug: why did we loose control on which profiles can > > be used in the OPAC? I will file a bug for that. The current implementation > > doesn't allow to limit which profiles to offer the end-user. > > Hi, what profiles do you mean? I didn't notice bug 5087, so I thougt that was already part of Koha.
backported to 20.05.x for 20.05.03
missing dependencies, not backported to 19.11.x
(In reply to Owen Leonard from comment #0) > Bug 25402 was supposed to have depended on Bug 5087 but somehow that got > missed during QA. > > The result is that the OPAC cart is completely broken, giving this error > when the cart window is opened: > > DBIx::Class::Storage::DBI::_dbh_execute(): Unknown column 'opac_option' in > 'where clause' at /kohadevbox/koha/Koha/Objects.pm line 144 > at /usr/share/perl5/DBIx/Class/Exception.pm line 77 Sir, My website: http://bhavanslibrary.com After adding books to cart, when I try to view the cart, it shows internal Server error. I think this patch will fix the error. But I do not know how to apply this patch. Can you guide me how to apply this patch on my site? Regards Vidyasagar P V
You can see in the field "Version(s) released in" which versions include the patch for this. If you are on a later version and still seeing this bug, please report a new bug. If you are on an earlier version, you should consider updating.
I have installed version 20.05.02.000 only. I will upgrade it and let you know the status. Thanks for the help
I tried to upgrade by adding echo 'deb http://debian.koha-community.org/koha 20.11 main' | sudo tee /etc/apt/sources.list.d/koha.list sudo apt-get update sudo apt-get upgrade The following packages have been kept back: koha-common So it is not getting up upgraded. any suggestions?
The comments section of a closed bug report is not the right forum in which to ask this kind of question. Questions about Koha should be asked on the Koha mailing list (http://koha-community.org/support/koha-mailing-lists/) or in the #koha IRC channel (http://koha-community.org/get-involved/irc/). Hopefully you've already seen the Koha documentation: http://koha-community.org/documentation/ You can also find options for paid support here: https://koha-community.org/support/