Jump to content

Page save to page field error when selector date>=value


gebeer
 Share

Recommended Posts

Hello,

in a 2.6.22rc1 install I have a page field "workshops" that selects pages via selector "template=workshop,sort=-dat_start,dat_start>=today)".

The field is in a template "anmeldungen".

When I edit a page with template "anmeldungen". I can choose pages from the page field "workshops".

But when I want to save that page, I get an error

Page 2188 is not valid for workshop (Page 2188 does not match findPagesSelector: template=workshop,sort=-dat_start,dat_start>=today)

But the workshop I am trying to save to the page field is definitely in the date range >=today. Otherwise it wouldn't be listed in the page field select dropdown.

The same error is thrown when I change my selector to "template=workshop,sort=-dat_start,dat_start>=2015-11-04".

Also saving pages through the API to that field doesn't work.

 

Only if I omit the dat_start>= selector, I can save pages to the page field.

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

×
×
  • Create New...