[MAGNOLIA-2112] DefaultContent.isNodeType() does not delegate to the jcr node Created: 14/Apr/08  Updated: 23/Jan/13  Resolved: 10/Jul/08

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 3.5.4
Fix Version/s: 3.6

Type: Bug Priority: Major
Reporter: Philipp Bärfuss Assignee: Philipp Bärfuss
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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

The current implementation checks only against the primary type name while the jcr equivalent is more sophisticated. It works for mixins as well as for sub types



 Comments   
Comment by Magnolia International [ 10/Jul/08 ]

Our original implementation was case-sensitive, while this fix delegates to the isNodeType() method of javax.jcr.Node, which doesn't specifiy its case-sensitiveness (so it is assumed it IS case sensitive)
So I'll changed MockContent in order for it to be case-sensitive as well now.

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