Bug 466372 - [Serializer] not working correct for cross refs with datatype rule when refactoring
Summary: [Serializer] not working correct for cross refs with datatype rule when refac...
Status: NEW
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.8.2   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-05-05 01:53 EDT by Christian Dietrich CLA
Modified: 2017-08-10 07:13 EDT (History)
0 users

See Also:


Attachments
Grammar (356 bytes, application/octet-stream)
2015-05-05 01:53 EDT, Christian Dietrich CLA
no flags Details
Test (1.04 KB, application/octet-stream)
2015-05-05 01:54 EDT, Christian Dietrich CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Dietrich CLA 2015-05-05 01:53:47 EDT
Created attachment 253151 [details]
Grammar

We do code based refactoring on a existing model that contains cross references that use datatype rules. when saving (and thus serializing) the model after the programmatic change to the model the resulting text is not valid since the serializer omits to serialize a whitespace between the keyword before the cross ref and the cross ref (there is not customization done to the formatter so there should be at least a whitespace). you find the grammar and a unit test that reproduces the problem attached.
Comment 1 Christian Dietrich CLA 2015-05-05 01:54:18 EDT
Created attachment 253152 [details]
Test