Bug 773

Summary: [Chameleon-Widget]Maturity level set for a specific application is not recognized
Product: Chameleon Reporter: Normand Savard <nsavard@mapgears.com>
Component: WidgetAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: CLOSED INVALID    
Severity: normal    
Priority: P2    
Version: 1.99   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description From 2004-10-26 10:46:11
Maturity level set for a Chameleon installation is working as described in bug
701 description but is not working for a specific application.  I used the
instructions in comment #7.  I tested it using the
"sample_basic_plainbuttons.phtml" application.  I set the application maturity
level to RELEASECANDIDATE and the chameleon maturity level
installation(chameleon.xml) to UNKNOWN.  All widgets were displayed.

Questions:

1.  What should happen if Chameleon installation maturity level is higher than
application maturity level?   Righ now no widget is displayed.

2.  What should happen if application maturity level is higher than Chameleon
installation maturity level?  Righ now all widgets are displayed.


Fedora Core 2
Chameleon beta 3 20041022
------- Comment #1 From 2004-10-26 11:04:32 -------
this does work.  I think I gave you the wrong information before.  Here is the
code that works:

$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.
------- Comment #2 From 2004-10-26 11:19:53 -------
It works as expected.