Bug 536794 - Hybrid pattern matching recognizes SPECIFIC backend requirements only
Summary: Hybrid pattern matching recognizes SPECIFIC backend requirements only
Status: RESOLVED FIXED
Alias: None
Product: Viatra
Classification: Modeling
Component: Query (show other bugs)
Version: 2.0.0   Edit
Hardware: All All
: P3 normal
Target Milestone: 2.0.1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-08 06:30 EDT by Gabor Bergmann CLA
Modified: 2018-07-13 05:12 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 Gabor Bergmann CLA 2018-07-08 06:30:06 EDT
DontFlattenIncrementalPredicate tries to recognize whether a called pattern should be matched by the incremental backend. Unfortunately, it only considers the case where an explicit backend selection is given (BackendRequirement.SPECIFIC), and does not realize if the PQuery requires the default incremental backend instead. Unfortunately, the latter may be quite usual when a pattern is declared as "incremental pattern" in the VQL.
Comment 1 Eclipse Genie CLA 2018-07-08 07:49:37 EDT
New Gerrit change created: https://git.eclipse.org/r/125759
Comment 2 Zoltan Ujhelyi CLA 2018-07-09 04:51:34 EDT
Good catch. Given this is a regression in 2.0 (caused by an incomplete solution for bug 530519, I propose this as a backport candidate for 2.0.1.
Comment 4 Eclipse Genie CLA 2018-07-12 10:25:04 EDT
New Gerrit change created: https://git.eclipse.org/r/125982
Comment 6 Eclipse Genie CLA 2018-07-13 03:34:23 EDT
New Gerrit change created: https://git.eclipse.org/r/126006
Comment 7 Eclipse Genie CLA 2018-07-13 03:34:25 EDT
New Gerrit change created: https://git.eclipse.org/r/126007
Comment 10 Zoltan Ujhelyi CLA 2018-07-13 05:12:31 EDT
Fix with corresponding test cases added to master and backported to 2.0-maintenance branch. Closing as fixed.