Univention Bugzilla – Bug 42916
The validation of all app values should be adjusted
Last modified: 2016-11-25 10:01:08 CET
Currently, values that are not required are shown as required in the app view. Although values are shown as invalid, save will work ignore them and store the changes.
Not all attributes are editable. Listing them anyways. Required: ['code', 'name', 'ucs_version', 'version', 'id', 'component_id'] Regex: [('code', '^[A-Za-z0-9]{2}$'), ('ports_redirection', '^\\d+:\\d+$'), ('required_ucs_version', '^(\\d+)\\.(\\d+)-(\\d+)(?: errata(\\d+))?$'), ('ports_exclusive', '^\\d+$'), ('id', '^[a-zA-Z0-9]+(([a-zA-Z0-9-_]+)?[a-zA-Z0-9])?$'), ('database_user', '(?!^(root)$|^(postgres)$)')] IntAttribute: ['min_physical_ram', 'web_interface_port_http', 'web_interface_port_https'] Choices: [('web_interface_proxy_scheme', ['http', 'https', 'both']), ('supported_architectures', ['amd64', 'i386']), ('docker_server_role', ['memberserver', 'domaincontroller_slave']), ('server_role', ['domaincontroller_master', 'domaincontroller_backup', 'domaincontroller_slave', 'memberserver']), ('ucs_overview_category', ['admin', 'service', None, False])] These attributes _have to_ satisfy these contrainsts, otherwise the App will not be created by the code, ignoring this ini file completely!
r 74584 univention-management-console-module-appcenter-selfservice (1.0.0-116) * Bug #42916: adjusted validation of app values
Adjusted the validations and property "required". univention-management-console-module-appcenter-selfservice (1.0.0-120): r74591 | Bug #42916: Add/correct validations
this._form.validate() is not called in the frontend when trying to save the current changes.
this._form.validate() is now called and missing entrys are displayed, when trying to save. Also the galleryPage gets updated when saving now. svn commit: 74645 build: 1.0.0-133.90.201611211516
Updating the galleryPage didn't yet work as intended. Fixed now. svn commit: 74648
The new version of the App Provider Portal has been released and this bug will thus be closed.