on 2018 Jan 15 10:53 AM
Hello everybody,
I am in the process of upgrade from version 5.1.1.8 to version 6.6.
After fixing different compilation and server starting problems, I have done the update of the database (hac-->platform->update). After the update I can't reach my accelerator homepage, it appears this message: "Request processing failed; nested exception is de.hybris.platform.cms2.exceptions.CMSItemNotFoundException: No page with id [/] found"
As an admin in the cmscockpit for example, I have the same problem, if I click on any content catalog the cmscockpit can't retrieve any page, in the log appears a similiar error: No page with id [/] found.
The pages are not deleted because I can see them in the HMC.
If I debug the first case the DefaultCMSPageDao the next query does not return any result:
SELECT {pk} FROM {ContentPage} WHERE {label} = ?label AND {catalogVersion} in (?catalogVersions)
And the last clue, all this process, or tests, work if I upgrade to 6.5 (Not 6.6) I can access to the accelerator pages, and the CMS Cockpit work.... so the question is...
What has changed from version 6.5 to version 6.6 that generates this bug?
Is some kind of new SearchRestriction?? any new permission on user anonymous and admin??
Thank you very much in advance!!!
Hi, I am going to answer to myself...
The 6.6 version adds a new attribute to the AbstractPage Type, pageStatus, it's necesary to set the value of this attribute to 'active', the query to retrieve the Page has changed:
DefaultCMSPageDao...
queryBuilder.append("SELECT {page.pk} ").append("FROM {ContentPage AS page ").append("JOIN CmsPageStatus AS stat ").append("ON { page.pageStatus} = {stat.PK}} ").append("WHERE {label} = ?label AND ");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
33 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.