Uploading new banner image leaves html snippet unchanged
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Center Agent |
Confirmed
|
Low
|
Unassigned |
Bug Description
When uploading a new image for an exhibit, the banner_url is updated correctly to the newly uploaded image, but the html snippet still contains the reference to the old image, unless manually updated (see below [1])
It would be great to automatically update any refs within the html snippet, as USC will only display the image defined in the banner_url (for security reasons).
[1] An example
{{{
{
...,
"html": "<div style=\
...,
},
}}}
Changed in software-center-agent: | |
importance: | Undecided → Low |
I'm thinking that it would be better to allow over writing of the image vs automatically renaming the image. We explicitly uploaded a file name - the system *should* not change what is uploaded.
The problem is that the "system" changed the uploaded file name and the html snippet showed the image since the original image existed.
Another solution is to allow selecting an existing file.