This one sounds tricky but is really easy. Someone accidentally placed the ending parenthesis of the t() function on line ~594 before the placeholder array instead of after it.
This results in a malformed error message to the blog-client looking like:
You may only choose one category from the @vocabulary_name vocabulary.
instead of
You may only choose one category from the Family members vocabulary.
This message occurs when trying to post multiple terms where the current vocabulary doesn't allow multiple terms on a node.
This bug also causes that the placeholder array is instead sent as a second argument to the blogapi_error() function, but it doesn't cause any problem (at least not in PHP5).
I attach a patch to fix this. It's pretty likely that this is not corrected in Drupal 7 either. In that case, am I supposed to create an issue there as well?
This is my first issue I create, so sry if it's malformed in any way :) Then please correct me.
| Comment | File | Size | Author |
|---|---|---|---|
| module_blogapi-D6.patch | 824 bytes | betamos |
Comments
Comment #1
cameron tod commentedGreat bug report and patch - unfortunately you've posted it in the wrong queue so it's been a little overlooked.
Unfortunately, it looks like blogapi module is no longer maintained.