We're updating the issue view to help you get more done. 

MockPage.getAbsoluteParent is no longer working

Description

aem-mocks 1.2.0 bring that change to getAbsoluteParent [0] that breaks the Page API contract [1]:
Example (this path == /content/geometrixx/en/products) instead of

level

returned

0

/content

1

/content/geometrixx

2

/content/geometrixx/en

3

/content/geometrixx/en/products

4

null

i get

2

/content/geometrixx

3

/content/geometrixx/en

4

/content/geometrixx/en/products

[0] https://github.com/wcm-io/wcm-io/blob/io.wcm.testing.aem-mock-1.2.0/testing/aem-mock/src/main/java/io/wcm/testing/mock/aem/MockPage.java#L159

[1] http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/api/Page.html#getAbsoluteParent%28int%29

Environment

None

Status

Assignee

Unassigned

Reporter

Nicolas P.

Labels

None

Components

Fix versions

Affects versions

AEM Mocks 1.2.0

Priority

Major