[Neos] Problem when deleting Pages/Nodes

Nick nick at jamalade.com
Mon Sep 16 22:20:59 CEST 2013


Hi

I have noticed a bug with Neos alpha 5 but I am not really sure how to report it on forge, or in fact if I should!

I had a simple Node/Page set up like this

Home
Who We Are
Appointments
Useful Stuff

I then created a couple of pages under Home and ended up with the following:

Home
     New Page
         New Page
Who We Are
Appointments
Useful Stuff

I hadn't meant to create the two New Pages under each other as I was after this:

Home
     Some New Page
     Another New Page
Who We Are
Appointments
Useful Stuff

So I deleted the New Page. Got the dialogue to check that I wanted to delete and went ahead. Nothing seemed to happen (still in page tree) so tried 
again. Again nothing.

I then tried to go to workspaces but got this error:
   "Page Not Found Sorry, the page you requested was not found"

Then tried to log in again to back end and also after I  shut down everything restarted cache and tried to log in to back end but got this:
	"An error occurred while trying to call TYPO3\Neos\Controller\Frontend\NodeController->showAction(). Error for node: Could not convert array to Node 
object because the node "/sites/myDemoSite/Home" does not exist.

However when I just connected to front end site seemed OK.

I had a look in the database (nodedata) and found that in fact there were 2 "Home" nodes of type Typo3.Neos:Pages
One marked as removed and in what must have been a draft non published workspace. Once I deleted this everything worked again but back to my original 
flat layout.

So then I tried the following with all but one page Published.
Home
     Some New Page
     New Page (not published)
Who We Are
Appointments
Useful Stuff

I then purposefully deleted the Home Node. Got the same behaviour as above. but when I looked in the database it looked as if

"Home" was duplicated and marked as deleted. "New Page" was marked as deleted but "Some New Page" did not exist.

I hope my explanation isn't too long winded!

Kind regards

Nick





More information about the Neos mailing list