Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Virtual Pages - Not Linking to Originals in CMS


Reply


2 Posts   987 Views

Avatar
Double-A-Ron

Community Member, 604 Posts

16 September 2010 at 9:53am

Edited: 16/09/2010 9:53am

2.4.0

This seems to be a sporadic problem but is affecting FF, IE and Chrome. It seemed to work flawlessly when I first started adding Virtual Pages, but now that I have 50 odd, it seems to fail more often than work.

The problem happens when I load a Virtual Page in the CMS. There is a link on the main tab that says "click here to edit the content". This link should take the CMS user to the original page so they may edit the content.

Most of the time now, this link does nothing except display the "Loading" message at the bottom of the page.

I have monitored the action in Firebug, and see http://www.domain.com/admin/getitem?ID=52&ajax=1 working there with a final 200 OK response. I can confirm that the ID in these URLs is always the ID for the original page, so no problem there. The main content page just stays on the Virtual Page.

UPDATE: I have found that for this link to work, the original page MUST be visible in the tree. If it is inside a tree folder, which is collapsed, the link does not work.

Bug?

Avatar
Double-A-Ron

Community Member, 604 Posts

17 September 2010 at 7:18am

I have lodged a ticket for this. Looks like a usability bug.

http://open.silverstripe.org/ticket/6002

Cheers
Aaron