Longer text in added content fails to show in OPAC

Bug #1843884 reported by Linda Jansova
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

Our module ObalkyKnih.pm in method "summary_html" called from AddedContent.pm returns HTML representing added content. When we tried to return longer text, the text was not shown in the record detail.
We tried to send different texts (varying in content and length). Our observation is that text composed of 766 letters "a" was visible but 767 letters of "a" were not.
Code in Record.pm in method added_content_stage2 is receiving a 404 but code in AddedContent.pm in method print_content is sending proper HTML response.
The text fails to show in Evergreen 3.3. We have tried Evergreen 3.3 both with Ubuntu 16.04 LTS and Debian 9 – in both cases the longer text fails to show.
We compared it to Evergreen 3.1 install – in this case it worked fine. So presumably something happend between Evergreen 3.2 and 3.3 that seems to prevent showing the longer texts...

Revision history for this message
Linda Jansova (skolkova-s) wrote :

This image shows where exactly the text fails to show.

Revision history for this message
Linda Jansova (skolkova-s) wrote :

And this one shows the same record which uses a modified version of our module that - as a workaround - cuts off the remainder of the text to make sure at least something shows up.

Revision history for this message
Eva Cerninakova (ece) wrote :

Just an additional note: we have observed the behavior described above applied in various added content types (not only the summary, as Linda pointed above, but e.g., TOC in a text format).

Revision history for this message
Remington Steed (rjs7) wrote :

Eva and Linda,

What version of OpenSRF did you use with Evergreen 3.3 when you saw the problem? And what version of OpenSRF did you use with the working Evergreen 3.1 install? It may also be helpful to know what Linux distribution you used with the working 3.1 setup.

Revision history for this message
Václav Jansa (vaclav-jansa) wrote :

Hello Remington,
our previous production fully working system is based on Debian 8 (well updated), opensrf 3.0.1 and EG 3.1.3.
Our current production system (with reported problem) is Ubuntu 16.04 (well updated), Opensrf 3.1.1 and EG 3.3.2.

But we have meet same issue on our previous test with Debian 9, opensrf 3.1.? and EG 3.3.0. (we had to switch from Debian 9 to Ubuntu 16.04 LTS due to web staff client issue with some interfaces).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.