| Summary: | org.eclipse.wst.server.ui.editorPageSection property tester not called on first open | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP ServerTools | Reporter: | Mike Reid <mikereid> | ||||
| Component: | wst.server | Assignee: | Angel Vera <arvera> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Angel Vera <arvera> | ||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | eyuen7, kathy | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 3.2.4 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| See Also: | https://git.eclipse.org/r/109038 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Mike Reid
Created attachment 189537 [details]
Proposed patch
It appears that this occurs if the plugin declaring the enablement test has not yet been activated. The expression framework does not auto-load bundles unless explicitly requested to do so.
This has to be enabled both by the enablement test via the 'forcePluginActivation' attribute, e.g.:
<enablement>
<test property="org.myorg.myproperty"
value="true"
forcePluginActivation="true"/>
</enablement>
and this also has to be enabled on the EvaluationContext under which the expression is evaluated. If the EvaluationContext is not enabled then the forcePluginActivation attribute is ignored.
Attached a proposed patch to enable this for each of the editor page extension points.
Angel, This is affecting an adopting product. Could you please target this to WTP 3.2.4 if possible? Thanks! This problem is encountered by other adopting products as well. Raising severity. If this problem is not fixed, sections in the server editor that should not show up is showing up, causing confusion to the user. Since the target milestone of this defect is not set yet, I would like to confirm that this is still on target to be delivered in WTP 3.2.4. The change is simple and provides for better product adoption. Testing didn't show any problems. Changes committed to 32M Code released to 32M Changes committed to HEAD(3.3) Changes released to HEAD(3.3) New Gerrit change created: https://git.eclipse.org/r/109038 |