]
RH Bugzilla Integration updated GTNPORTAL-3509:
-----------------------------------------------
Bugzilla Update: Perform
Bugzilla References:
[Application Registry] Missing validator when importing applications
--------------------------------------------------------------------
Key: GTNPORTAL-3509
URL:
https://issues.jboss.org/browse/GTNPORTAL-3509
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Affects Versions: 3.5.10.Final, 3.7.1.Final, 3.8.2.Final
Reporter: H. Trang Vu
Assignee: Lucas Ponce
Priority: Minor
Attachments:
SiteRedirectsAndImportExportAdminPortlet-TooLongAppName-DisplayName.png
When applications are added by configuration or by importing automatically all
applications, there isn't any check of application name while its value is read-only
after the creation. These validators (length and pattern) however existent when adding or
editing an application. As a consequence, some imported applications cannot be changed
(Display Name, Description, Access Permission).
Steps to reproduce:
# Login as root
# Go to Application Registry
# Click *Site Redirects and Import/Export* (the last item of *Administration* category).
# Change nothing. Click Save. Warning message appears as follows.
{noformat}
The length of the text in field "Application Name" must be between
"3" and "30" characters.
The length of the text in field "Display Name" must be between "3"
and "30" characters.
{noformat}
* It is feasible to reduce "Display Name" but not "Application Name"
at run time.