I get an "unknown action" error if i trie to edit the action of an preset.
The link looks like:
admin/build/imagecache/2/action/4
In Version 1.14 of imagecache_ui.module path has chenged to
$items['admin/build/imagecache/%imagecache_ui_preset/%imagecache_action']
In think the link has to be changed in :
admin/build/imagecache/2/4
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | imagecache_265593.patch | 2.73 KB | drewish |
| #1 | imagecache_ui.module-unknown-action.patch | 884 bytes | tantenic |
Comments
Comment #1
tantenic commentedin my opinion
line 307
'#value' => l(t('Configure'), 'admin/build/imagecache/'. $action['presetid'] .'/action/'. $action['actionid'] ),
has to be changed to
'#value' => l(t('Configure'), 'admin/build/imagecache/'. $action['presetid'] .'/'. $action['actionid'] ),
to fit line 71
$items['admin/build/imagecache/%imagecache_ui_preset/%imagecache_action']
I attached my first try to build a patch.
Comment #2
Moonshine commentedUpdating the status...
Your correction looks good to me and does fix the error.
Comment #3
jcfiala commentedI used the same fix (not having looked for this ticket until after I'd fixed it) and it works fine in the install I'm working with.
So glad this has a D6 version, even if dangerously untried - imagecache is just so darn useful.
Comment #4
drewish commentedgive this a try, it tries to make all the paths a bit saner.
Comment #5
Moonshine commentedWorks fine for me...
Comment #6
Fayna commentedThe latest patch worked great. No more error!
Comment #7
drewish commentedgreat, committed to HEAD.
Comment #8
dopry commentedawesome.. good to see those pre d6 menu optimizations go bye bye!!
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.