WebGUI
      Click here to register.
      
irc://irc.freenode.net#webgui

iPhoneGuy: WebGUI is a pile of crap.
rizen: If WebGUI is such a pile of crap, why do you use it?
iPhoneGuy: Because it's the best pile of crap out there.

If this is what people who hate us are saying, imagine what people who love us will say. Come join us on IRC.


     Report a Bug > WebGUI Bug Tracker

Thingy Thing not showing Remove option for File/Image field types

User zzois
Date 5/1/2008 12:46 pm
Severity Fatal (can't continue until this is resolved)
Version WebGUI Beta 7.5.10
Views 84
Rating 0    Rate [
|
]
Karma Rank 0.000000
Previous · Next
User Message
zzois

field_loop field_form variable of Thingy Edit Thing Template fails to render Remove button for fields of File/Image type, when one is editing previosly saved record with already attached file(s)/image(s).

Because of this (and unlike behaviour of similar field_loop field.form variable of DataFrom Template) one has no ability to change previously uploaded file(s)/image(s).

Back to Top
Rate [
|
]
 
 
zzois
I can reproduce this on http://beta.webgui.org

Back to Top
Rate [
|
]
 
 
yhkhoe

When i edit a previosly saved record with already attached file(s)/image(s) is see an option 'delete this file?' with yes/no radio buttons, below the image. This can be used to delete the attached file/image.

Yung



Back to Top
Rate [
|
]
 
 
zzois
I checked again and my results were the same - no option for removing attached image(s) in already saved Thing records.

DataForm on the other hand does show "Delete Attached File" link, but no yes/no radio buttons you mention.

I set up temporary test page at http://beta.webgui.org/demo1209856563_835 so you can see for yourself - username: admin, password: 123qwe, for Thing Search input filed please use keyword "entry".


Back to Top
Rate [
|
]
 
 
zzois
Please find enclosed the screenshot of how Edit screen for particular Thing record looks on my computers - I made tests with various browsers (Firefox, Konqueror, MSIE, Opera) on various platforms (Linux, Windows XP) to eliminate potential possibility of browser/plafrom specific peculiarities at the time saving the record. All with same results.

Attached Files
Back to Top
Rate [
|
]
 
 
yhkhoe

I can confirm that this problem exists in the demo site you made which uses 7.5.10 beta. But i can't confirm it in my own local install which uses the latest WebGUI from svn.

It also looks like there have been some changes to the WebGUI::Form::File code, that might have fixed this problem. So i think the next release will fix it on the demo server.

If it doesn't, i'll have another look.

 



Back to Top
Rate [
|
]
 
 
zzois
Ok, thank you for your time - I'll keep my eye on this one until the next release then. ;-)

Back to Top
Rate [
|
]