Closed (fixed)
Project:
Bibliography Module
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2020 at 14:10 UTC
Updated:
15 May 2020 at 20:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tokiI have just re-installed Biblio 7.x-1.2 and now I can add a biblio through DOI, for example. No more Error screen or message.
Comment #3
hunterbuchanan commentedWe're seeing the same problem. With Biblio 7.x-1.3, we see the same error when trying to add a node:
Rolling back to 7.x-1.2 fixed the problem.
Comment #4
liam morlandPlease use
git bisectto figure out which commit caused this problem.Comment #5
emerham commentedIt has to do with this git commit hash 9a284d1 for the issue #3088436: Undefined function search_index() on node save when core search module is not enabled. The biblio index node internal function added a check if the operation is an update, but didn't moved the _node_index_node($mynode) into the if logic.
Did some quick testing with a known site that was not working and this seems to get it back to a working state.
As a temporary work around just disabling the indexing of biblio items when creating/updating, add all your new items. Then you can renable the auto indexing on creating/updating as the update operation does work with this code.
Comment #6
emerham commentedTurns out I missed when new biblio's are created the index of the new node was not added into the search. This should fix that.
Comment #9
liam morlandThanks!