Parent page content instead of HTTP 404?
Hi there,
I have created a page in Sitefinity with URL /test and with some content.
When I browse this page from http://localhost:60876/test I can see my text. It's OK.
When I try to browse non existing child page, for instance, localhost:60876/.../sub-test then it shows me the content of parent page. However, I expect to see HTTP 404 error.
I'd like to ask two questions:
1. Is it a bug or a new feature of Sitefinity 4?
2. In case of new feature, is there a way to obtain programmatically the values after parent page?
For example, on the parent page we have some widget and we have URL like this localhost:60876/.../sub-test2. Of course, the child pages with URLs sub-test and sub-test2 do not exist, therefore the parent page should be loaded. In widget's code I would like to get values:
var firstParam = someObject.Items[0]; //holds sub-test
var secondParam = someObject.Items[1]; //holds sub-test2
Is it possible?
Thanks in advance,
Anton.
Hello Anton,
This is a known bug of Sitefinity which we have logged for fixing.
Best wishes,
Radoslav Georgiev
the Telerik team
This bug is still not fixed in Q1 release...
Hi Anton,
I added your issue to the bug.
Since the PITS system was introduced lately, you can track in it the progress of the bug on this public link:
http://www.telerik.com/support/pits.aspx#/public/sitefinity/4964
As long your second question in your initial post, please let me know if you find some solution to it or is it still pending.
Best wishes,
GeorgePPetrov
the Telerik team
This issue says it has been correctted but it is not:
PLEASE REFERENCE
Please see links:
1> http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/httphandler-not-working.aspx
3>www.sitefinity.com/.../parent-page-content-instead-of-http-404.aspx
The actual TroubleTicket
http://www.telerik.com/support/pits.aspx#/public/sitefinity/4964
Hello Doug,
I checked with latest official release (4.4 from 2012 Jan 22) and saw the following behavior:
/home 200 OK - ordinary page used as parent
/home/gp1 200 OK - subpage of the parent page
/homz 404 - wrong URL
/home/z Server error - wrong URL after the parent page
/home/gp1/z Server error - wrong URL after the child page
/grouppage 200 OK - group page
/grouppage/z 404 - wrong URL under a group page
/grouppage/subpage2 200 OK - child page of a group page
/grouppage/subpage2/z Server error - wrong URL under a subpage
Is there a new PITS number? I searched for 404, but didn't see anything recent and the old PITS item is still resolved.
Hi Eric,
Thank you for contacting Telerik support. It was my fault, thanks to you I changed the visibility of the PITS issue to public, its number is 9506.
Greetings,
GeorgePPetrov
the Telerik team