Task #52053

Deleting Home page leaves backend inaccessible

Added by Nikos Poaros over 8 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Content Editing
Target version:
-
Start date:
2013-09-17
Due date:
% Done:

0%

Estimated time:

Description

I have noticed a bug/problem when "home" page is deleted.

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. (Apparently I was to quick hitting the deletes)

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 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/Page. 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.

Anyway it seemsto be a problem when you delete the sites homepage on purpose or not

I hope my explanation isn't too long winded!

Kind regards

Nick


Related issues

Related to Base Distribution - Work Package #45020: Content Editing Stability and FeaturesClosedAske Ertmann2012-01-06

Actions

No data to display

Also available in: Atom PDF