Jump to content

PageReference selector string parent=page.id not working anymore, but did before


rash
 Share

Recommended Posts

Hi guys,

I'm struggling with a PageReference inside a Combo, and the Combo is part of a Repeater Matrix. The PageReference is supposed to offer only child pages of the current page, so I use the selector string

parent=page.id

in the field settings. As expected, the PageReference offers all child pages (and nothing else), but saving the page throws an error for each selected child page:

Page 1103 does not match findPagesSelector: parent=page.id, id=1103
Page 1106 does not match findPagesSelector: parent=page.id, id=1106
etc.

Funny thing is, that the exact same construction (including Combo/Repeater Matrix) is running since years on another project, so I really don’t understand what’s going on here. Why does the PageReference offer a correct selection, but doesn’t accept the result?

Supplement: For test purposes I took the Combo out of the Repeater Matrix, the problem remained the same. Next I took the PageReference out of the Combo, then everything worked. Obviously the problem is somewhere in the nested field construction. Is it possible to have a PageReference like the described one inside a Combo field and what would be its correct selector string? (And I’m still wondering why the same construction works on another site.)

Edited by rash
Added more information
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...