Bug 379664 - [Xtend/Xpand IDE Integration] Should not allow creating an Outlet without location
Summary: [Xtend/Xpand IDE Integration] Should not allow creating an Outlet without loc...
Status: CLOSED WONTFIX
Alias: None
Product: Sphinx
Classification: Automotive
Component: M2x IDE Integration (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-16 06:16 EDT by Dao Hoang CLA
Modified: 2024-05-06 23:09 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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