Bug 492435 - "Type not defined for variable" quick-fix problem
Summary: "Type not defined for variable" quick-fix problem
Status: RESOLVED FIXED
Alias: None
Product: Viatra
Classification: Modeling
Component: Query (show other bugs)
Version: 1.2.0   Edit
Hardware: PC Windows NT
: P3 normal
Target Milestone: 2.1.0M1   Edit
Assignee: Zoltan Ujhelyi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-26 07:46 EDT by Balazs Grill CLA
Modified: 2018-07-05 11:38 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balazs Grill CLA 2016-04-26 07:46:17 EDT
If the user applies multiple quick-fix on file without saving it, fixes on subsequent positions are placed at the wrong location.

Steps to reproduce:
* create a pattern with at least two untyped parameters so that the warning "Type not defined for variable" appears for both parameters.
* save the file
* Apply quick fix to the first parameter (do not save)
* Apply quick fix to the second parameter

The missing type declaration is placed where it should have been before the application of the fisrt fix shifted the position.
Comment 1 Zoltan Ujhelyi CLA 2016-05-26 08:33:55 EDT
Moved to 1.4
Comment 2 Zoltan Ujhelyi CLA 2017-02-03 05:25:56 EST
Issues missed milestone 1.
Comment 3 Zoltan Ujhelyi CLA 2017-03-16 09:52:30 EDT
M2 has passed, postponing all issues.
Comment 4 Zoltan Ujhelyi CLA 2017-05-02 03:43:21 EDT
Postponed to 1.7
Comment 5 Zoltan Ujhelyi CLA 2017-10-04 05:04:23 EDT
Postponing.
Comment 6 Zoltan Ujhelyi CLA 2018-02-08 07:21:17 EST
Postponing to a future release.
Comment 7 Zoltan Ujhelyi CLA 2018-07-05 11:38:35 EDT
I cannot reproduce the issue on a current Xtext and Platform version. Closing as (hopefully) fixed.