Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320772

Summary: Error on first Query is removed when a second Query is added
Product: [Technology] Tigerstripe Reporter: Navid Mehregani <nmehrega>
Component: UIAssignee: Project Inbox <tigerstripe.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: erdillon
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Navid Mehregani CLA 2010-07-23 16:45:53 EDT
Build Identifier: 

A Query artifact requires a returned entity type.  When an artifact is initially added, user is correctly warned of this.  However, as soon as a second Query is added the error on the first Query artifact goes away!

Reproducible: Always

Steps to Reproduce:
1. Create a new class diagram
2. Create a Query artifact. Notice that the following is correctly logged in Problems view: Undefined returned Entity type referenced in 'Query6'
3. Create a second Query artifact.  Notice the problem in the first Query artifact goes away
4. Create a returned entity for the second Query by adding an Entity artifact and specifying it as a returned type of the second Query.  Now the model builds with no problems even though the first Query still doesn't have a returned entity!
Comment 1 Eric Dillon CLA 2010-08-09 21:58:13 EDT
Query are seldom used.
Comment 2 Navid Mehregani CLA 2012-03-05 09:31:07 EST
Fixed.