Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362262 - VE design tab should not call the service in the start function
Summary: VE design tab should not call the service in the start function
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Justin Spadea CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 01:20 EDT by fahua jin CLA
Modified: 2017-02-23 14:17 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fahua jin CLA 2011-10-28 01:20:46 EDT
Build Identifier: 0.7.0.v201110272101

Create an RUIHandler, and in the start function, write several statements to call the service. If I switch to the design tab, you'll see an error message for the service invocation.

Reproducible: Always
Comment 1 Justin Spadea CLA 2011-10-28 09:25:01 EDT
This used to work. The code that prevents services from running in the design view is located in the javascriptdev plug-in, file ServicesCallStatementTemplate.java. It overrides a template in the javascript.templates.eglx.services plug-in to insert "if (egl.enableEditing !== true) {".

I would check that the template is still getting invoked.
Comment 2 Huo Zhen Zhong CLA 2011-10-30 22:59:42 EDT
Hi, Justin
Thanks, I have changed the owner to you.
Comment 3 Justin Spadea CLA 2011-10-31 14:10:40 EDT
The template for service invocations was renamed but not updated in template.properties.
Comment 4 fahua jin CLA 2011-11-04 01:42:26 EDT
Verified in 0.7.0.v201111032101.