Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Cannot overcome "This transcript is still being processed for display" condition #143

@McFateM

Description

@McFateM

I need to pull the latest code and try this again, but lately I've been having problems resolving the condition indicated in the title.

So, for some time now when we use the provided editor to modify one of our TRANSCRIPTs it frequently saves an "empty" cue (looks like ) at the head of the TRANSCRIPT XML data. This doesn't seem to cause any real problems, but when an administrator opens the object they typically see this...

Notice: Undefined offset: 7 in islandora_oralhistories_transcripts_ui_transcript() (line 175 of /var/www/html/sites/all/modules/islandora/islandora_solution_pack_oralhistories/includes/utilities.inc). =>

    ... (Array, 15 elements)
    Krumo version 0.2.1a | http://krumo.sourceforge.net
    [Click to expand. Double-click to show path.] Called from /var/www/html/sites/all/modules/islandora/islandora_solution_pack_oralhistories/includes/utilities.inc, line 175  

Notice: Undefined offset: 7 in islandora_oralhistories_transcripts_ui_transcript() (line 176 of /var/www/html/sites/all/modules/islandora/islandora_solution_pack_oralhistories/includes/utilities.inc). =>

    ... (Array, 15 elements)
    Krumo version 0.2.1a | http://krumo.sourceforge.net
    [Click to expand. Double-click to show path.] Called from /var/www/html/sites/all/modules/islandora/islandora_solution_pack_oralhistories/includes/utilities.inc, line 176  

Notice: Undefined offset: 7 in islandora_oralhistories_transcripts_ui_transcript() (line 181 of /var/www/html/sites/all/modules/islandora/islandora_solution_pack_oralhistories/includes/utilities.inc). =>

    ... (Array, 15 elements)
    Krumo version 0.2.1a | http://krumo.sourceforge.net
    [Click to expand. Double-click to show path.] Called from /var/www/html/sites/all/modules/islandora/islandora_solution_pack_oralhistories/includes/utilities.inc, line 181  

Notice: Undefined offset: 7 in islandora_oralhistories_transcripts_ui_transcript() (line 186 of /var/www/html/sites/all/modules/islandora/islandora_solution_pack_oralhistories/includes/utilities.inc). => 

Presumably this is because the number of cues is inflated by the presence of the empty cue at the top of the XML.

Quite some time ago I created a Drush command as part of a utility suite that I've written, and with it I'm able to easily remove the empty . However, doing so leaves the object in a state where the title message is produced.

In the past I've been able to re-index the object in Solr, and then regenerate derivatives in order to get the object back to a viewable state, but today that is no longer working.

I'm going to pull the latest 7.x code and test this again, and I'll follow-up here with results ASAP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions