With this change, I wonder if it now won't be obvious that the metatype information isn't there. One (accidental I suspect) upside of the old approach is that it drove bug reports when metatype info was missing.
Perhaps a message can be added like "Metatype information did not exist. Automatically generating form from existing properties..." WDYT? Justin On Sat, Dec 17, 2011 at 11:22 AM, Felix Meschberger (Resolved) (JIRA) <[email protected]> wrote: > > [ > https://issues.apache.org/jira/browse/FELIX-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Felix Meschberger resolved FELIX-3282. > -------------------------------------- > > Resolution: Fixed > > Implemented in Rev 1215519. Now the form descriptors are generated in a > "properties" object of the return JSON to not collide with other information > in the JSON (name title and description). > > The form setup is derived from the actual configuration value and defaults to > unbounded array of String. > > Still the same logic applies to properties assumed to be password (by having > "password" in their name) as for FELIX-3168. > >> Generate default fields for configurations without descriptor >> ------------------------------------------------------------- >> >> Key: FELIX-3282 >> URL: https://issues.apache.org/jira/browse/FELIX-3282 >> Project: Felix >> Issue Type: Improvement >> Components: Web Console >> Affects Versions: webconsole-3.1.8 >> Reporter: Felix Meschberger >> Assignee: Felix Meschberger >> Fix For: webconsole-3.2.0 >> >> >> If a configuration has no associated Metatype Descriptor, the Web Console >> currently presents the data in a single TextArea where the properties are >> essentially listed in the format of a Java Properties file. >> This is not very useful and may also loose type information. This problem >> can be fixed by generating default entry fields for existing configuration. > > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators: > https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa > For more information on JIRA, see: http://www.atlassian.com/software/jira > >
