Bug #52130
Workspace->getRootNode() return NodeData, not Node(Interface)
Status: | Resolved | Start date: | 2013-09-19 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Node handling | |||
Target version: | Base Distribution - 1.0 alpha 6 |
Description
This exposes the internal NodeData instance and breaks the use of the returned node in anything that expects Node(Interface) via type hinting.
Associated revisions
[TASK] Rename createFromNode() to createFromNodeData()
Since this method in NodeFactory creates a Node from NodeData, it should
have a matching name.
Change-Id: Ib8578d88670e294110a6df4cdd34afeddb11f138
Related: #52130
Reviewed-on: https://review.typo3.org/23900
Reviewed-by: Aske Ertmann
Reviewed-by: Robert Lemke
Tested-by: Robert Lemke
[BUGFIX] getRootNode() returns NodeData despite the name
The name implies that a Node(Interface) instance is used, but in fact
NodeData is returned.
This change renames it to getRootNodeData() to be consistent and avoid
confusion.
Change-Id: If5aee99d036e1da51e0d04fa52bda8c4d0015183
Fixes: #52130
Reviewed-on: https://review.typo3.org/23901
Reviewed-by: Aske Ertmann
Reviewed-by: Robert Lemke
Tested-by: Robert Lemke
History
#1 Updated by Gerrit Code Review almost 2 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23901
#2 Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23901
#3 Updated by Gerrit Code Review almost 2 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23901
#4 Updated by Gerrit Code Review almost 2 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23901
#5 Updated by Karsten Dambekalns almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fb7bb9e41d7ea1f433b84734f1ad471e07882a1a.