[MAGNOLIA-4753] NodeTypePredicate should support evaluation of super types as well as primary node type Created: 21/Dec/12  Updated: 11/Feb/13  Resolved: 01/Feb/13

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 4.5.7
Fix Version/s: 4.5.8, 5.0

Type: Improvement Priority: Neutral
Reporter: Jan Haderka Assignee: Jan Haderka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

It's useful from time to time to be able to include super types in evaluation (e.g. both mgnl:area and mgnl:component have mgnl:contentNode as their super type), not only strictly primary type and predicate should support it.



 Comments   
Comment by Daniel Lipp [ 31/Jan/13 ]

Pls add unit-test for the new functionality.

Comment by Jan Haderka [ 01/Feb/13 ]

hard to add tests for new functionality only when old fund is not tested either

Generated at Mon Feb 12 03:58:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.