[MAGNOLIA-7155] SiblingsHelper replacement without Content API Created: 22/Sep/17  Updated: 22/Sep/17  Resolved: 22/Sep/17

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Michael Mühlebach Assignee: Roman Kovařík
Resolution: Duplicate Votes: 0
Labels: tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MAGNOLIA-6895 SiblingsHelper returns deprecated Def... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   
  • move SiblingsHelper to compatibility package (at least forum depends on it)
  • create 1:1 replacement with Node API (deprecate already as such helper should not be needed?)
  • use this replacement in info.magnolia.templating.functions.TemplatingFunctions#siblings(javax.jcr.Node)


 Comments   
Comment by Jan Haderka [ 22/Sep/17 ]

Why to create replacement if you plan to deprecate it already? Sounds silly. Don't create any replacement. Shouldn't be necessary.

Comment by Roman Kovařík [ 22/Sep/17 ]

SiblingsHelper uses Content API.
TemplatingFunctions#siblings returns this object.
We can't get rid of Content API obviously unless we create a replacement object (which is has the same methods, so it's from freemarker/reflection point of view indentical) without Content API.

Generated at Mon Feb 12 04:21:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.