Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1348638 - [RFE] - Need default validation for data type on TextBox fields when submitting Dialog (Web UI)
[RFE] - Need default validation for data type on TextBox fields when submitti...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.6.0
Unspecified Unspecified
unspecified Severity unspecified
: GA
: 5.6.1
Assigned To: Harpreet Kataria
Shveta
ui:dialog
: FutureFeature, ZStream
Depends On: 1319781
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-21 11:59 EDT by John Prause
Modified: 2016-08-19 15:28 EDT (History)
8 users (show)

See Also:
Fixed In Version: 5.6.1.2
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1319781
Environment:
Last Closed: 2016-08-18 13:48:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
string (98.63 KB, image/png)
2016-08-01 14:43 EDT, Shveta
no flags Details
integer value (67.85 KB, image/png)
2016-08-01 14:44 EDT, Shveta
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1634 normal SHIPPED_LIVE Important: CFME 5.6.1 security, bug fix, and enhancement update 2016-08-18 17:43:52 EDT

  None (edit)
Comment 2 CFME Bot 2016-07-13 18:36:04 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/b0894e1e50c1d45256d032e890af6ead7dffe4db

commit b0894e1e50c1d45256d032e890af6ead7dffe4db
Author:     Harpreet Kataria <hkataria@redhat.com>
AuthorDate: Thu Jul 7 17:13:48 2016 -0400
Commit:     Harpreet Kataria <hkataria@redhat.com>
CommitDate: Thu Jul 7 17:20:53 2016 -0400

    Initialize data type for TextBox field to be string by default.
    
    Data type for TextBox field was being set to to nil by default, this was causing validation issues when dialog was submitted.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1319781
    https://bugzilla.redhat.com/show_bug.cgi?id=1348638

 app/controllers/miq_ae_customization_controller/dialogs.rb | 5 +++++
 1 file changed, 5 insertions(+)
Comment 4 Shveta 2016-08-01 14:43 EDT
Created attachment 1186509 [details]
string

Created a dialog with "Integer" . Proper validation is shown while ordering the catalog Item ..

But when created a dialog with type "String" and provider Integer values while ordering catalog item , validation was not shown .
Comment 5 Shveta 2016-08-01 14:44 EDT
Created attachment 1186510 [details]
integer value
Comment 7 Bill Wei 2016-08-08 14:44:36 EDT
Shveta,

For string type you can still type numbers, which are taken as a string, not integer. I think it is OK.
Comment 9 Harpreet Kataria 2016-08-08 15:42:43 EDT
John/Shveta,

Removing need info flag as Bill has already provided information above. Let me know if you need any further info on this.

~Harpreet
Comment 10 Shveta 2016-08-08 15:53:12 EDT
Verified in 5.6.1.0.20160726144018_810a94f
Comment 12 errata-xmlrpc 2016-08-18 13:48:12 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-1634.html

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