Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369895 - Different generation result with facet applied in different way
Summary: Different generation result with facet applied in different way
Status: CLOSED FIXED
Alias: None
Product: Tigerstripe
Classification: Technology
Component: Facet (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-27 00:56 EST by Maria Kolchinskaja CLA
Modified: 2012-02-21 09:56 EST (History)
1 user (show)

See Also:


Attachments

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