New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploads in create forms get lost on validation errors #134

Open
flack opened this Issue Jan 30, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@flack
Owner

flack commented Jan 30, 2015

Reported by flack on 26 Dec 1930 18:21 UTC
This can happen when a validation error is triggered by datamanager->validate(). At this point, the object is already created, so attachments have been moved over from the temporary object. They need to get moved back there before the created obejct is deleted again.

The best solution would probably be to do all necessary validation in QF rules, but it's unclear if that is possible, since QF seems to enforce validation only for required fields

Migrated-From: http://trac.openpsa2.org/ticket/143

@flack flack self-assigned this Jan 30, 2015

@flack flack added this to the 9.0.0 milestone Jan 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment