imagefield broken for nodeprofile user categories integration

cpelham - April 26, 2007 - 00:05
Project:Node Profile
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

fago - April 26, 2007 - 07:18
Status:active» fixed

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

firebus - May 2, 2007 - 08:09

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

firebus - May 2, 2007 - 08:13
Version:5.x-1.x-dev» 5.x-1.1
Status:fixed» active

nope. it's definitely not working for me, even though pageroute is no longer installed.

any ideas?!

thanks!

#4

firebus - May 2, 2007 - 08:16

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

firebus - May 2, 2007 - 08:25
Status:active» fixed

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

jpetso - May 2, 2007 - 08:26

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

fago - May 2, 2007 - 09:40
Title:CCK Image field not working with Node Profile.» fileupload broken for nodeprofile user categories integration
Category:support request» bug report
Status:fixed» active

ah I think I know that I've forgot...

#8

fago - May 2, 2007 - 09:50
Title:fileupload broken for nodeprofile user categories integration» imagefield broken for nodeprofile user categories integration

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

fago - May 12, 2007 - 11:08

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

firebus - May 12, 2007 - 19:00

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

fago - May 13, 2007 - 10:19
Status:active» fixed

great - so I close the issue. just reopen if the problem persists

#12

voidengine - May 17, 2007 - 14:17
Title:imagefield broken for nodeprofile user categories integration» Same Result

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

fago - May 17, 2007 - 20:26
Title:Same Result» imagefield broken for nodeprofile user categories integration

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

Anonymous - May 31, 2007 - 20:31
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.