Watchdogs on drupal.org know their job :)
Recently I had a problem in one of the projects i am working: after upgrade of the Workflow module from 6.x-1.0-rc3 to 6.x-1.1, the workflow form on node edit form was not functioning correctly. I was constantly getting php error when saving nodes:
warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in …../sites/all/modules/workflow/workflow.module on line 270.
After looking in some other active issues in workflow module, I could not find a solution, so I've done some quick debugging and basic diff searches. And I found the problem - one uninitialized variable, because one line has been deleted in workflow.module (revision 1.75):
$name = check_plain(workflow_get_name($wid));
So after returning erased line in 6.x-1.1 everything was working correctly. Happy :)) with my new fix and detective work I could not wait to go to the workflow issue page and create a new issue where I described the bug and my solution, in the hope that someone will notice it.
Well, that has happened – 7 minutes after my post, user jvandyk posted the link to a duplicated issue (OK, I have noticed this issue, only that I just did not found it worth of reading, because the title was for me a bit misleading).
At the end, I only have to say: it is nice to know that there is someone in Drupal community watching over essential modules like the workflow with that kind of accuracy and speed (OK, John VanDyk is also a guy with fantastic reputation). And for me, I have learned again that important lesson again: always do your homework properly.
tags
Neueste Blogeinträge
- Multivariate D7 Demo for drupalbusiness.org
- UPDATE: Community & marketing: identify focus groups based on site visitors pattern & web browsers
- How to install PECL PHP extension on 64bit linux while you are using 32bit XAMPP
- 500 internal server error while uploading files bigger then 100kb - mod_fcgid problem
- New stable releases of captcha_after module for Drupal: 6.x-1.2 and 7.x-1.0
- Drupal 7 is out!
- 'E-gov & Drupal: A love story' e-gov barcamp presentation
- www.montenasoft.at is online
- CAPTCHA AFTER module released!
- Drupalcamp Timisoara/Romania
Neueste Kommentare
- quality writing skill
vor 2 Tage 23 Stunden - Thank You :)
vor 1 Woche 17 Stunden - ZFArTENAvQjeXVKuf
vor 2 Wochen 3 Tage - npKzWCOFnw
vor 2 Wochen 3 Tage - PBXnrIODXBnl
vor 2 Wochen 5 Tage - respond this post
vor 3 Wochen 4 Tage - Thank you!
vor 7 Wochen 3 Tage - mZmHMGnZEkq
vor 8 Wochen 5 Tage - rAvPklxpSI
vor 8 Wochen 6 Tage - ffYUpoNkqzsoSvl
vor 9 Wochen 1 Stunde
Kontakt
MontenaSoft e.U.
A-1030 Wien, Österreich office@montenasoft.com
www.montenasoft.com
tel: +43 (0) 699 19084898
fax: +43 (0) 1 91 6789 5


Kommentare
Kommentar hinzufügen