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 |
Jump to:
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
Hey Frank,
Your my best tester!! :-) To bad you didn't find that a day earlier though :-(
Fix in -dev now.
Ron.
#2
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
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
Automatically closed -- issue fixed for 2 weeks with no activity.