Summary: | [Chameleon - Core] add support for widget maturity levels | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Paul Spencer <pspencer@dmsolutions.ca> |
Component: | Core | Assignee: | William Bronsema <wbronsema@dmsolutions.ca> |
Status: | CLOSED FIXED | ||
Severity: | enhancement | CC: | chameleon-dev@lists.maptools.org |
Priority: | P2 | ||
Version: | 1.99 | ||
Target Milestone: | 1.99 beta 3 | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: | |||
Bug Depends on: | 772 | ||
Bug Blocks: |
committed to cvs. Default maturity level is going to be BETA for beta 3, we should consider changing that for final release (I'll leave this bug open and target 1.99 final for this change). Note that the distribution configuration file has changed to support this so updates from cvs will require at least copying over the new configuration item.
Just to let you know I have added <cham:maturitylevel> to xml schema, the doc_builder default template, and have made a basic update to display this value in the widget doc viewer. All that is left if for the doc_builder process to be able to extract this maturity level setting in the widget.
Bill, please close when you have completed the doc-builder stuff.
Maturity level has been added to the doc_builder.
FYI - for admin purposes you can run doc_builder with ?log appended to the URL to have it automatically output the run log to a file as well as output the widget/maturity list.
How could we set the maturity level in an application?
two choices: 1. change chameleon.xml maturity_level (this is global to all chameleon applications) 2. $oApp->mnMaturityLevel = MATURITY_<level>; * after initialize, before execute. * <level> = UNKNOWN, ALPHA, BETA, ... case sensitive as these are 'define'd values.
Verified :) on install of beta3 20041022for windows ms4w. I recieved errors on applications that were using widgets that are marked lower than BETA. This meant I had to change the chameleon.xml config option maturity_level to UNKNOWN so that I could use all the widgets without the error message. Also the maturity level is also present in the generated documents found in the help viewer. set to verified.
as per discussion with Darren, the MATURITY_RELEASE level was divided into MATURITY_TECHNICALRELEASE and MATURITY_PRODUCTRELEASE.
Instructions in comment 7 should be read as the following: $oApp->CWCInitialize( $szTemplate, $szMapFile ); $oApp->mnMinimumMaturityLevel = MATURITY_RELEASECANDIDATE; $oApp->CWCExecute(); Currently, the application maturity level will be used over the default maturity level (chameleon.xml). This means that the application can choose to use a lower or higher maturity level that the default.
verfied for windows using beta3 20041022 by: * using application: http://localhost/chameleon/samples/sample_enhanced.phtml * setting the maturity level of the application to: $oApp->mnMinimumMaturityLevel = MATURITY_RELEASECANDIDATE; * while the Maturity level of the installed chameleon was set to: UNKNOWN The result was that no widget were able to load because the highest a widget is currently set is BETA. Since the ErrorReport widget was disable due to it being a BETA widget no Maturity Level error popup was displayed. Setting bug to Closed.