Bug 326657 - create asset: on failure, can not re-submit
Summary: create asset: on failure, can not re-submit
Status: RESOLVED FIXED
Alias: None
Product: bodega
Classification: Unmaintained
Component: Manager (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-25 23:59 UTC by Aaron J. Seigo
Modified: 2013-10-29 10:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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