imagefield broken for nodeprofile user categories integration
| Project: | Node Profile |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Hi. I'm running the CCK 5.x-1.5, CCK image 5.x-1.x-dev with Node Family 5.x-1.1, Node Profile 5.x-1.x-dev, Usernode 5.x-1.1 and Pageroute 5.x-1.0 on drupal 5.1. I have successfully created node profile based profile and a View for it.
However, I am having one problem. I created a CCK image field for my nodeprofile content type so that users can upload their picture or avatar. When I create/edit a node profile I can navigate to an image and select it and it shows it selected, but then when i click upload, i don't think anything happens. it appears to just go back to being empty. i can't see that any file is uploaded anywhere into my files directory. I am able to successfully upload images via CCK image field in other content types, just not nodeprofile. Can you think of any reason for this?

#1
yes, there is a bug in pageroute 1.0 that causes this. update to the latest -dev snapshot of pageroute or wait for the next release, which isn't far away.
#2
hmm. i am not using pageroute (anymore) but i am still having this issue.
perhaps if i delete and recreate the custom field now that pageroute is gone? i'll try it.
i'm using:
nodeprofile 5-x-1.1, nodefamily 5.x-1.1, usernode 5.x-1.1, imagefield 5.x-1.1
thanks!
#3
nope. it's definitely not working for me, even though pageroute is no longer installed.
any ideas?!
thanks!
#4
sorry for the multiple posting.
i'm editing my nodeprofile through the user pages. if i go to the actual edit page for the nodeprofile, it works great. but if i try to edit through the user page edit tab, it doesn't work.
so maybe there's an issue with subform_element or the way nodeprofile is using it?
thanks again.
#5
following that train of thought, i upgraded to the latest 5.x-1.x-dev release of subform_element and now it works like a charm. thanks for listening.
#6
Confirmed. We are having the same problem at the moment, and we really need to get it fixed, er, soon. ;) I'll try a bit more, once I find the time.
#7
ah I think I know that I've forgot...
#8
no, $form['#attributes']['enctype'] = 'multipart/form-data'; is there. The user module does that for us... I just tested an upload with the upload module - working. I'm going testing with the imagefield now...
#9
I'm not able to reproduce this! Are you still facing this problem?
Are you able to upload using the usual node form at create-content - profile-type ?
#10
we (still) no longer have this problem after updating to the most recent dev release of subform_element. not sure about the others on this issue.
#11
great - so I close the issue. just reopen if the problem persists
#12
Working with this setup I observed the same bug - Image Field upload did not with within the Subform Element on uset/1/edit, but did work on the node edit page.
Node Family 5.x-1.3
Node Profile 5.x-1.1
CCK 5.x-1.4
Image 5.x-1.1
Subform Element 5.x-1.2
I also upgraded to Subform Element 5.x-1.x-dev and the Image Field operated correctly in all cases.
#13
indeed. I forgot to make a new release of subform for this important bugfix:
bugfix: fixed file uploads with #data_separation on by excluding them from the separation
#14