Sha256: f46678a394856bb98f85538d7abdd29431af6034c34704e0159c8ef9f4d8b2fd

Contents?: true

Size: 1.33 KB

Versions: 8

Compression:

Stored size: 1.33 KB

Contents

!3 BUG.  There was a problem when moving a page that was three or more levels down from the root.  Moving A.B.C to A.D.

First build a page, a subpage to move, and a target page to move it to.

!|Page creator.|
|Page name.                    |Page contents.     |valid?|
|ParentPageAy                  |>ChildBee          |true   |
|ParentPageAy.ChildBee         |>ChildCee          |true   |
|ParentPageAy.ChildDee         |page D             |true   |
|ParentPageAy.ChildBee.ChildCee|page C             |true   |

The bug seems to make !-ChildBee-! disapear, so let's see if it's there now.

|Response Requester.|
|uri|valid?|contents?|
|!-ParentPageAy.ChildBee-!|true||

Then move the sub page.

|Response Requester.|
|uri   |status?|
|!-ParentPageAy.ChildBee.ChildCee?responder=movePage&newLocation=ParentPageAy.ChildDee&refactorReferences=on-!||

Next fetch old parent page and make sure the reference has been changed.

|Response Requester.|
|uri|valid?|contents?|
|!-ParentPageAy.ChildBee-!|true||

|Response Examiner.|
|type  |pattern|matches?|wrapped html?|
|contents|!-ParentPageAy.ChildDee.ChildCee-!|true||

Make sure we can't get the old A.B.C page. Use the !-dontCreatePage-! query to suppress default creation of a non-existent page.

|Response Requester.|
|uri|valid?|status?|
|!-ParentPageAy.ChildBee.ChildCee?getPage&dontCreatePage-!|false|404|


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcfit-0.9.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteMoveResponder/TestMovePageThreeLevelsDown/content.txt
xcfit-0.8.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteMoveResponder/TestMovePageThreeLevelsDown/content.txt
xcfit-0.7.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteMoveResponder/TestMovePageThreeLevelsDown/content.txt
xcfit-0.6.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteMoveResponder/TestMovePageThreeLevelsDown/content.txt
xcfit-0.5.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteMoveResponder/TestMovePageThreeLevelsDown/content.txt
xcfit-0.4.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteMoveResponder/TestMovePageThreeLevelsDown/content.txt
xcfit-0.3.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteMoveResponder/TestMovePageThreeLevelsDown/content.txt
xcfit-0.2.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteMoveResponder/TestMovePageThreeLevelsDown/content.txt