Project

General

Profile

Actions

Bug #15629

closed

Validation errors for Domain and OS Parameters tab not showing

Added by Ivan Necas over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #13164: view_params is missingClosedOri Rabin01/12/2016Actions
Actions #1

Updated by Ivan Necas over 8 years ago

  • Description updated (diff)
  • Category changed from Web Interface to Parameters
Actions #2

Updated by Ivan Necas over 8 years ago

  • Related to Bug #13164: view_params is missing added
Actions #3

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
Actions #4

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
Actions #5

Updated by Ori Rabin over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF