Keywords vanish when previewing

Frank Steiner - April 2, 2009 - 11:31
Project:Bibliography Module
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,
when previewing a node the keywords disappear with an error message:
warning: Invalid argument supplied for foreach() in /usr/share/drupal/modules/biblio/biblio.module on line 1027.

As far as I can see the problem is that during the preview $node->biblio_keywords is just a string and not an array of objects. But I'm not really sure when and how these two formats are converted into each other. As I said before, the keywords are still a bit spooky to me ;-)

#1

rjerome - April 2, 2009 - 21:45
Status:active» fixed

Hey Frank,

Your my best tester!! :-) To bad you didn't find that a day earlier though :-(

Fix in -dev now.

Ron.

#2

Frank Steiner - April 3, 2009 - 06:06

Too much honor :-) It wasn't me but one of our research assistants :-) You wouldn't believe what strange kind of things they do with our drupal installation, finding very weird bugs ;-)

#3

rjerome - April 3, 2009 - 12:46

That's why users make the best Beta testers :-) They find all the edge cases you would never think of (not that this particular one falls into that category).

#4

System Message - April 17, 2009 - 12:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.