Hello. Although my default option for the image content type is set to post as "Published", image nodes created by this module are posting as unpublished. Because of this, users are getting "Access denied" errors when trying to view the new node created by their image attachment. Any thoughts?

Thank you

Comments

killes@www.drop.org’s picture

Status: Active » Fixed

I've added some code to make the image respect the predefined settings. Please test and close.

oliveaddict’s picture

Status: Fixed » Active

Thank you, Gerhard.

Yes, this patch fixed the problem but introduced a new one.
The link below the image that says "parent post: foo" now says "Array".

I believe the bug happens between versions 1.11 and 1.12 of upload_image.module on line 22.
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/upload_image/...

drewish’s picture

ah yeah, that would be because killes only committed the fix to the CVS version but i updated CVS to use the new 4.8 style links. if the published status is working for you now i'll back port the change to 4.7 and you should use that module instead.

drewish’s picture

Status: Active » Fixed

i've backported killes fix to 4.7

oliveaddict’s picture

Yes, the most recent upload_image.module in CVS (1.10.2.1 2006/07/06 18:48:27) works great. Both problems are fixed.

The changed file was not in the CVS tarball, so I used this:
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/up...

Thanks, Andrew.

Anonymous’s picture

Status: Fixed » Closed (fixed)