U4-4373 - @Library.NodeById(-1).Id returns "0" instead of "-1"(6.2.0 beta)

Created by Arie 10 Mar 2014, 14:51:27 Updated by Shannon Deminick 17 Mar 2014, 02:10:49

Relates to: U4-4374

@Library.NodeById(-1).Id returns "0" instead of "-1".

Comments

Arie 13 Mar 2014, 14:30:42

This would break any functionality that uses NodeById(-1) to get to a sibling of the root.


Shannon Deminick 17 Mar 2014, 00:40:02

I can only assume it's these revisions that have done this:

e7754213f162ef50120cad12470fa820d0f5a2f8

77777c8007535edef3f9f513d806adac2917bc52

I'll see what is happening and ping @zpqrtbnk about it.


Shannon Deminick 17 Mar 2014, 00:53:38

To confirm, did

@Library.NodeById(-1)

previously return -1 ??


Arie 17 Mar 2014, 01:08:34

I just checked a 6.0.5 install and @Library.NodeById(-1).Id does indeed return -1.


Shannon Deminick 17 Mar 2014, 01:22:29

yup, just reverted to old version and going through the code. Thx!


Priority: Show-stopper

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 6.2.0

Due in version: 6.2.0

Sprint:

Story Points:

Cycle: