Closed (won't fix)
Project:
Node Gallery
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
9 Dec 2009 at 00:52 UTC
Updated:
24 Sep 2012 at 16:46 UTC
Because manage/sort images are not actual node_forms, defaults set by the better formats module do not apply, which causes unexpected results.
Comments
Comment #1
kmontyInitial fix added to hook_nodeapi:
Comment #2
justintime commentedThe problem with this approach is that it only fixes better_formats - any other modules will have to have their own if(module_exists) block in the presave case which will get pretty messy over time.
The cleaner (and unfortunately harder) way to do this is to use drupal_execute to actually load up the node-form which will fire all contrib modules hook_form_alter() calls.
I'm bumping the priority down on this to normal, since there are no critical feature requests, and I'm going to tag it with NG3. We've yet to port over the manage images tab from 2.x, and it's due for a refactor because of performance. I'll see if I can't get this worked in at the same time.
@kmonty, if you want this committed into 2.x, feel free to do so, as it won't break anything pre-existing.
Comment #3
kmontyI agree that drupal_execute is a better solution and isn't a release blocker. Potentially when a 3.x solution is found, I can backport it to 2.x
Comment #4
dddave commentedper #2
Comment #5
justintime commentedKevin (or anyone else who knows what to look for) - can you tell us if this by chance got fixed with the refactor of the manage images tab?
Comment #6
zengenuity commentedAt this point, I won't be adding new features to the D6 version. If features are wanted for D7, please post a new issue.