[Bug 34062] New: Additional contents with library set do not appair in OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34062 Bug ID: 34062 Summary: Additional contents with library set do not appair in OPAC Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: hammat.wele@inlibro.com QA Contact: testopia@bugs.koha-community.org When we create an additional content and specify the library, we are not able to see the additional contents in the OPAC, the OPAC_BRANCH_DEFAULT is used only once, if we reload the page we can't see the additional contents anymore. To reproduce Add « SetENv OPAC_BRANCH_DEFAULT 'CPL' » in the koha-httpd.conf and restart or reload apache 1- Connect to the staff interface 2- Go to Tools->Pages 3- Click on New entry 4- Fill the following field Display location -> OPAC, library -> Centerville, Publication date -> today date, fill the title and the content 5- Save the form 6- get the created page id (select max(idnew) from additional_contents;) 7- Visit http://master/cgi-bin/koha/opac-page.pl?page_id=X (where X is the created page id) in a private tab --> the page is displayed well 8- refresh the page --> the page is no more displayed you get the message «This page does not exist.» -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34062 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|oleonard@myacpl.org |hammat.wele@inlibro.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34062 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caroline.cyr-la-rose@inlibr | |o.com, | |philippe.blouin@inlibro.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34062 --- Comment #1 from Hammat wele <hammat.wele@inlibro.com> --- When we create an additional content and specify the library, we are not able to see the additional contents in the OPAC, the OPAC_BRANCH_DEFAULT is used only once, if we reload the page we can't see the additional contents anymore. To reproduce Add « SetENv OPAC_BRANCH_DEFAULT 'CPL' » in the koha-httpd.conf and restart or reload apache 1- Connect to the staff interface 2- Go to Tools->Pages 3- Click on New entry 4- Fill the following field Display location -> OPAC, library -> Centerville, Publication date -> today date, fill the title and the content 5- Save the form 6- get the created page id (select max(idnew) from additional_contents;) 7- Visit http://master/cgi-bin/koha/opac-page.pl?page_id=X (where X is the created page id) in a private tab --> the page is displayed well 8- refresh the page --> the page is no more displayed you get the message «This page does not exist.» -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34062 --- Comment #2 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 152477 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152477&action=edit Bug 34062: Additional contents with library set do not appair in OPAC When we create an additional content and specify the library, we are not able to see the additional contents in the OPAC, the OPAC_BRANCH_DEFAULT is used only once, if we reload the page we can't see the additional contents anymore. To reproduce Add « SetENv OPAC_BRANCH_DEFAULT 'CPL' » in the koha-httpd.conf and restart or reload apache 1- Connect to the staff interface 2- Go to Tools->Pages 3- Click on New entry 4- Fill the following field Display location -> OPAC, library -> Centerville, Publication date -> today date, fill the title and the content 5- Save the form 6- get the created page id (select max(idnew) from additional_contents;) 7- Visit http://master/cgi-bin/koha/opac-page.pl?page_id=X (where X is the created page id) in a private tab --> the page is displayed well 8- refresh the page --> the page is no more displayed you get the message «This page does not exist.» 9- Apply the patch 10- Refresh the page --> the page is displayed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34062 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34062 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl Summary|Additional contents with |Additional contents with |library set do not appair |library set do not appear |in OPAC |in OPAC -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34062 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #3 from David Nind <david@davidnind.com> --- I had a go at testing (using KTD), but I couldn't replicate the issue. When I refreshed the page, it displayed as expected - I didn't get the "This page does not exist". I was not logged in to the OPAC. Before the test plan, I: 1. Edited the Apache configuration: sudo vi /etc/apache2/sites-available/kohadev.conf 2. In the virtual host section for the OPAC (<VirtualHost *:8080>) I added: SetEnv OPAC_BRANCH_DEFAULT "CPL" 3. Restarted everything (restart_all) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34062 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com --- Comment #4 from Lucas Gass <lucas@bywatersolutions.com> --- This only deals with opac-page.pl ( custom page) but the test plan refers to additional contents. What about HTML customization and News? Also, I experience the same as David did: "I had a go at testing (using KTD), but I couldn't replicate the issue." -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34062 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #5 from Lucas Gass <lucas@bywatersolutions.com> --- FQA until we get some feedback. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34062 Kelly McElligott <kelly@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kelly@bywatersolutions.com --- Comment #6 from Kelly McElligott <kelly@bywatersolutions.com> --- We are testing this in 23.11.00 and this is also not working with library-specific messages within the HTML customizations, OPACResultSidebar. This does work with an 'all library' message. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34062 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|Failed QA |RESOLVED --- Comment #7 from Blou <philippe.blouin@inlibro.com> --- This is fixed in the master. We can't reproduce it anymore, so I closed it on our end. The patch still works on 24.05, but we don't see the value of putting time on it anymore. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org