Ticket #596 (closed defect: fixed)
Bug in Nested set Peer
| Reported by: | ademas | Owned by: | heltem |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3 |
| Component: | Generator - Nested Set | Version: | 1.3.0beta4 |
| Severity: | major | Keywords: | Nestedset Peer moveToNextSiblingOf |
| Cc: |
Description
Notice: Undefined variable: parent in C:\localhost\pvs\lib\model\om\BaseMenuNestedSetPeer.php on line 367
in:
public static function moveToNextSiblingOf(NodeObject $dest, NodeObject $node, PropelPDO $con = null) {
........
Update all loaded nodes self::updateLoadedNode($parent, 2, $con);
}
I replaced $parent with $dest->retrieveParent() and seems that it works ok. The same with moveToPrevSiblingOf()
Change History
Note: See
TracTickets for help on using
tickets.
Right bug catch.