| Summary: | [Builder] wrong error marker due to invalid builderstate | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Michael Clay <clay> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | 1.0.0 | Flags: | sebastian.zarnekow:
helios+
|
| Target Milestone: | M7 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 311324 | ||
Fixed in HEAD. Closing bug which were set to RESOLVED before Eclipse Neon.0. |
to reproduce: prereq: java project with xtext nature and enabled auto build 1. create a file named bar.dmodel containing entity Bar { } 2. close the 'bar.dmodel' editor 3. create a file named foo.dmodel containing entity Foo { attr bar : Bar } 4. close the 'foo.dmodel' editor 5. within the package explorer select,copy and paste the bar.dmodel file to create a file copy i.e. accept the suggested default and name it 'Copy of bar.dmodel' file 6. the problems view now shows an error marker for foo.dmodel: 'Missing attribute type Bar' 7. delete the previously created 'Copy of bar.dmodel' file 8. the problem view still shows the meanwhile wrong error marker : 'Missing attribute type Bar' cause: invalid builderstate due to duplicate names within the same container scope?