Bug 1371897 - [RFE] Dialog field validation via automate method
Summary: [RFE] Dialog field validation via automate method
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: cfme-future
Assignee: John Hardy
QA Contact: Dmitry Misharov
URL:
Whiteboard: automate:dialog
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-31 11:58 UTC by Fabien Dupont
Modified: 2019-12-18 14:27 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-18 14:27:21 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)

Description Fabien Dupont 2016-08-31 11:58:36 UTC
Description of problem:
When creating a dialog field, one can specify a validation method. Currently only regex is supported. It would be great to call an automate method. An example: create a 'vm_name' field and check the name is available.

Version-Release number of selected component (if applicable): 5.6.1


How reproducible: Always


Steps to Reproduce:
1. Create a dialog field in a custom dialog
2.
3.

Actual results: One can only select regex as validation method


Expected results: One can select an automate method (instance)


Additional info:

Comment 3 Reartes Guillermo 2019-04-03 14:11:19 UTC
This can be accomplished by having a dynamic check-box 'validation' that reads X other dialog fields and performs the all validations in a single method. Such dynamic check-box will be 'required' and 'read-only'.

I am not sure this RFE is actually needed.

Comment 4 Fabien Dupont 2019-04-03 14:51:30 UTC
Well, it doesn't validate each field independently and it also adds a field to the dialog. Not very user-friendly in my opinion.


Note You need to log in before you can comment on or make changes to this bug.