In a normal content type, when an image is uploaded in image field "Add a new file" is displayed again, the refresh is automatic. This doesn't work in Profile2, you need to clic on the save button then go back to the field in order to add a new image.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | rfay_debugging_drupal.txt | 798 bytes | Jerome F |
Comments
Comment #1
joachim commentedWorks for me with the latest Profile2 from git.
Can you try it with that?
Comment #2
Jerome F commented@joachim: Thank you for your answer. Does it ? I tried the last git and the problem remains the same.
Did you try to upload a file?
The add a new file is displayed first, but is not displayed again after the image has been uploaded, if you don't hit save.
(I'm using a vertical tab field group but i tested without a group and it's the same)
Comment #3
joachim commentedHere are my steps:
1. Browse for and upload a file
2. After the file has uploaded, I see the thumbnail and an 'Add a new file' button
3. Browse for and upload another file
4. Same again -- now I have two thumbnails and can upload a 3rd file.
At what point do you save the whole profile?
Comment #4
Jerome F commentedThat's wired, if this doesn't happen to you I guess I have to further investigate why it happens to me. I'm gonna try that on a fresh empty D7 site.
1. Browse for and upload a file
2. After the file has uploaded, I see the thumbnail and I Don't see an 'Add a new file' button
I have to save the whole profile to actually see it again.
Comment #5
Jerome F commentedOh well, that's going to be fun. I created an empty clean D7 testing site and it works there. So I guess I'll have to go all the way activating modules, themes, etc. untill this problem appears again if I want to know what causes that.
Comment #6
joachim commentedI recommend rfay's Copenhagen session on debugging -- one thing he mentioned there was disabling modules by halves until you narrow down the problem.
Comment #7
Jerome F commentedFound it! It's the field translation module: http://drupal.org/node/1130518
@joachim: Thank you very much to answer even on saturday :-) I really appreciate.
I didn't find any web page, blog, pdf nor video with much informations about rfay's Copenhagen session, just the attached document. Having a debugging environment equivalent to your production site is the first thing I did and then I disabled the modules I thought where relevant considering my issue.
I'd like to recommend module filter (http://drupal.org/project/module_filter) wich is so helpfull when you have to manage and disable so many modules!
Comment #8
fagoPlease try to reproduce it with the latest module versions and re-open if still active.