Bug 379664

Summary: [Xtend/Xpand IDE Integration] Should not allow creating an Outlet without location
Product: [Automotive] Sphinx Reporter: Dao Hoang <dao.hoang.gate>
Component: M2x IDE IntegrationAssignee: Project Inbox <sphinx-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: balazs.grill, idydieng
Version: 0.7.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Dao Hoang CLA 2012-05-16 06:16:36 EDT
Steps to reproduce:

1. Create an Autosar Project 
2. Convert it to Xtend/Xpand Enable Autosar project
3. Open Properties page of created project
4. In ECUC Code Generation tab, click on [New..] to open Outlet creation wizard
5. Input valid name, but do not input the location

Expected: should disable [Ok] button until a valid path is input.

Actual: [OK] button is enable and can create an Outlet without path 

6. try to edit the newly created edit by click [Edit..] button
-> exception appears in error log 

org.eclipse.core.runtime.AssertionFailedException: null argument:
	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
	at org.eclipse.sphinx.xtendxpand.outlet.ExtendedOutlet.setPathExpression(ExtendedOutlet.java:96)
	at org.eclipse.sphinx.xtendxpand.outlet.ExtendedOutlet.<init>(ExtendedOutlet.java:72)
	at org.eclipse.sphinx.xtendxpand.ui.groups.OutletsGroup.edit(OutletsGroup.java:236)
	at org.eclipse.sphinx.xtendxpand.ui.groups.OutletsGroup$1.handleEvent(OutletsGroup.java:90)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
Comment 1 Balazs Grill CLA 2024-05-06 23:09:11 EDT
Closed stale issue before migration