Bug 326657

Summary: create asset: on failure, can not re-submit
Product: [Unmaintained] bodega Reporter: Aaron J. Seigo <aseigo>
Component: ManagerAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: active
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aaron J. Seigo 2013-10-25 23:59:32 UTC
When creating an asset, if an item is missed (e.g. you don't have the necessary role for a partner) then even after correcting it, pressing 'Create' does nothing.

Reproducible: Always
Comment 1 Marco Martin 2013-10-28 10:32:53 UTC
it seems it's possible, but is necessary to re-chose the file on each file field, for some reason it gets forgotten.

also, a part of the problem (but probably not enough to fix it) is that the server expects file fields that have the same name as the file, so the client has to do some hacks to rename the field on the fly when a file is chosen. removing that requirement may make it a bit simpler to fix, but i'm not 100% sure
Comment 2 Marco Martin 2013-10-29 10:20:19 UTC
Git commit 0b5555d5441c5e8dda129b2ba0095bc57bb51958 by Marco Martin.
Committed on 29/10/2013 at 10:16.
Pushed by mart into branch 'master'.

file fields are not clearOnSubmit

M  +2    -0    views/assetforms/createAssetForm.js

http://commits.kde.org/bodega-webapp-manager/0b5555d5441c5e8dda129b2ba0095bc57bb51958