[Koha-bugs] [Bug 23246] Record detail page jumps into the 'images' tab if no holdings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 25 18:14:09 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23246

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #16 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Here again. This is the test plan I followed:

- Have a record with an 856 $uhttps://www.youtube.com/watch?v=uHav6PL_4Bo
- Have HTML5MediaYouTube and HTML5MediaEnabled disabled, and LocalCoverImages
enabled
- Load the detail page of the record
=> FAIL: you see: https://snipboard.io/Csb7HK.jpg
(i.e. The syspref is disabled, but it jumps to the 'Images' tab, the fourth
one, which is hardcoded and doesn't verify the syspref first).
- Apply this patches, restart_all and refresh the browser
=> SUCCESS: It doesn't jump to the 'Images' tab
(https://snipboard.io/4z9NTl.jpg)
- Enable HTML5MediaYouTube and HTML5MediaEnabled
- Reload the detail page
=> SUCCESS:  The embedded media is displayed! (https://snipboard.io/REZ2T6.jpg)

The fact that it jumps to the 'Images' tab is a coincidence, if you have
EasyAnalytics enabled and LocalCoverImages disabled, it will jump to the
Analytics tab. This is because it is hardcoded to jump to the tab with index of
3. It is very easy to spot the problem in the diff...

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


More information about the Koha-bugs mailing list