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

Bug 369895

Summary: Different generation result with facet applied in different way
Product: [Technology] Tigerstripe Reporter: Maria Kolchinskaja <mshulgina>
Component: FacetAssignee: Project Inbox <tigerstripe.facet-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nmehrega
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Maria Kolchinskaja CLA 2012-01-27 00:56:41 EST
Build Identifier: 

Create Tigerstripe Generator project
Create Tigerstripe project with 2 entities
Create facet with annotation exclusion
Extend entity2 to entity1
Add annotation to entity1
Apply facet 
Close warning message (nconsistent type hierarchy)
Generate project - see that project generation SUCCESSFUL

Reset active facet
Open tigerstripe.xml on Facet tab and add the facet
Save changes
Generate project - see that project generation FAILED (with error "Inconsistent type hierarchy")

Remove facet from Facet tab
Add facet on Generator settings tab
Save changes
Generate project - see that project generation SUCCESSFUL (without any error or warning message)


I suggest that all three generation results should be SUCCESSFUL, but with warnings ("Inconsistent type hierarchy") in Generation Result window

Reproducible: Always
Comment 1 Navid Mehregani CLA 2012-02-21 09:43:46 EST
Bug#225729 also seems to be related.
Comment 2 Navid Mehregani CLA 2012-02-21 09:51:35 EST
(In reply to comment #1)
> Bug#225729 also seems to be related.

Sorry, what I meant was bug#298846
Comment 3 Navid Mehregani CLA 2012-02-21 09:56:18 EST
Fixed and verified.