Bug #15629
closedValidation errors for Domain and OS Parameters tab not showing
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1353104
Description of problem:
When you input invalid values into 'Name' and 'Value' fields for new Domain or Operating System entity and push submit button, parameter entry just disappear without any error shown
How reproducible:
Always
Steps to Reproduce:
1. Create new Domain entity
2. Open it and go to 'Parameters' tab
3. Push '+Add Parameter' button
4. Input invalid values (longer than 256 characters) in both fields
5. Push 'Submit' button
Actual results:
Parameter entry is disappeared and no error is shown
Expected results:
Proper (just usual one) error is shown
This seems to be caused by #13164, where we use the authorized scope
in the form, which means we loose the data about params, that the user sent
when there is a validation error.
Updated by Ivan Necas over 8 years ago
- Description updated (diff)
- Category changed from Web Interface to Parameters
Updated by Ivan Necas over 8 years ago
- Related to Bug #13164: view_params is missing added
Updated by Dominic Cleal over 8 years ago
- Subject changed from Validation for Domain and OS Parameters tab stopped to work to Validation errors for Domain and OS Parameters tab not showing
- Category changed from Parameters to Web Interface
- Translation missing: en.field_release set to 160
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ori Rabin
- Pull request https://github.com/theforeman/foreman/pull/3636 added
Updated by Ori Rabin over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 2432eb5c6896683d49c22e2fe04f7cc9e3777eb9.