Closed (fixed)
Project:
Boxes
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Feb 2012 at 19:36 UTC
Updated:
3 Apr 2012 at 15:41 UTC
Jump to comment: Most recent file
This is a two part issue.
1) On the block management index the "delete" link does not appear for any box entities.
2) When editing a box the "delete" button does nothing.
And so, I am unable to delete boxes once it is created.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | boxes-delete-1444540.patch | 897 bytes | emptyvoid |
Comments
Comment #1
emptyvoid commentedPatch to enable delete.
Comment #2
emptyvoid commentedComment #3
tirdadc commentedThis addresses 2) by overwriting $_GET['destination'], I'm trying to fix it using $form_state['redirect'] which is the recommended way.
In the meantime I've fixed the missing delete button on admin/structure/block with this commit.
Comment #4
tirdadc commentedFollowing more testing, the overwrite seems necessary given the use of 'destination' / $form['#action'] elsewhere for the Cancel behavior, since that's what's preventing the $form_state['redirect'] approach from workin in boxes_block_delete_submit().
Committed the patch for now with a comment about this for later review. Thanks.
Comment #6
rogical commentedFatal error: Call to a member function delete() on a non-object in /opt/development/yourhelps/sites/all/modules/boxes/boxes.admin.inc on line 67
Still got error...