nodeorder.install success message issue
gunspae - January 8, 2009 - 01:17
| Project: | nodeorder |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | installation |
Jump to:
Description
Installation/uninstallation of nodeorder reports failure, regardless of actual success or failure.
Problem is that drupal_add_field() and drupal_drop_field() return nested arrays, while the installation functions expect a single flat array.
ie: instead of
if ($ret['success'] === TRUE) { ... }
it should go something like
if ($ret[$i]['success'] === TRUE) { ... }
where $i is an integer. The attached patch iterates through the nested arrays and checks for error values.
| Attachment | Size |
|---|---|
| nodeorder.install.fixed_success_checks.patch | 2.53 KB |

#1
Patch commited and will show up in the next new dev release.
#2
#3
Automatically closed -- issue fixed for 2 weeks with no activity.