Bug 542490 - Fixed priority conflict resolver skips low-priority activations if higher-priority rule never had any activations
Summary: Fixed priority conflict resolver skips low-priority activations if higher-pri...
Status: RESOLVED FIXED
Alias: None
Product: Viatra
Classification: Modeling
Component: Transformation (show other bugs)
Version: 2.0.0   Edit
Hardware: Macintosh Mac OS X
: P3 normal
Target Milestone: 2.1.0RC   Edit
Assignee: Zoltan Ujhelyi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-06 15:42 EST by Zoltan Ujhelyi CLA
Modified: 2018-12-07 03:18 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltan Ujhelyi CLA 2018-12-06 15:42:25 EST
After checking for an external error report, I have noticed that FixedPriorityConflictResolver works incorrectly when a middle-priority rule had no activations: in such cases the lower-priority rules were never called. A quick checkin has shown that the issue is an incorrect rewrite from Guava-s multimap to Map of lists for version 2.0. More specifically, for each priority, as empty collections remained in the internal data structure, but it was not required.
Comment 1 Eclipse Genie CLA 2018-12-06 15:47:42 EST
New Gerrit change created: https://git.eclipse.org/r/133611
Comment 3 Zoltan Ujhelyi CLA 2018-12-07 03:18:06 EST
Fixed in master.