Closed (fixed)
Project:
Bibliography Module
Version:
6.x-1.8
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2009 at 18:11 UTC
Updated:
30 Dec 2009 at 03:10 UTC
Since updating to 6x-1.8, publication years "9999" and "9998" are showing in the separator bar instead of "Submitted" and "In Press".
I think this is related to a change around line 500 in the biblio.pages.inc file. It's loading the node, then resetting all the values in the node object back to the raw values returned by db_fetch_object(). My guess is that this is overwriting the "Submitted" and "In Press" representations with the raw "9999" or "9998" values. I don't know enough about the biblio module to feel confident in a fix, but hopefully this puts someone on the right track.
Comments
Comment #1
rjerome commentedIndeed you are correct. If you comment out (// ... ) lines 500 and 502 I think it should work correctly again.
Ron.
Comment #2
michal.sorf commentedHi Ron,
could you specify what exactly do with these lines? Simple commenting out doesn't work on my site ...
Thanks,
Michal
Comment #3
rjerome commentedYou could try deleting them, it that doesn't work then you must have found another issue.
Just for some context, here are the lines in question, you should delete the lines above and below the line with "$node = node_load($node->nid);"
Ron.
Comment #4
ShutterFreak commentedThank you! This solved my problem as well.
Comment #5
rjerome commentedI'm going to make a new release which fixes this issue within the next week or so.
Ron.
Comment #6
rjerome commented