teh
January 25, 2019, 2:47pm
1
In the modal window, when adding a page and afterwards clicking on the status circle, I’m getting the “The string did not match the expected pattern”-error. If the title of the added page is only numbers though, the error doesn’t appear.
Any ideas why?
Thanks!
Could you post the relevant blueprint, please? Anything else in your console?
teh
January 25, 2019, 3:07pm
3
The site.yml blueprint:
title: Übersicht
options:
url: false
status: false
delete: false
changeTitle: false
columns:
- width: 1/3
sections:
startseite:
headline: Anderer Content
type: pages
templates:
- home
- services
- markets
- aboutus
- contact
- press
- legal
- width: 1/3
sections:
productcategories:
headline: Produktkategorien
type: pages
template: productcategory
- width: 1/3
sections:
news:
headline: News
type: pages
template: newsitem
The productcategories -column is the one, that throws the error.
The productcategory.yml blueprint:
title: Produktkategorie
options:
url: false
I found out, that if I use num: num inside the productcategory.yml blueprint, the error does not occur.
Hm, I can’t reproduce this. Is that all that is in your productcategory.yml?
On a side note: The options in your site.yml blueprint (apart from changeTitle) don’t really make sense, you might as well remove them.
teh
January 25, 2019, 3:36pm
5
Hm, ok. Yeah, that’s all in the yml, for testing.
Thanks for the options-hint!
Hm, anything else that could be causing this? Hooks, plugins?
Wild guess: are you by chance on mac and using codekit?
Asking because there was a similar-ish issue in another thread and the issue turned out to be related to the codekit urls
teh
January 25, 2019, 5:26pm
8
Ah, no, but maybe it’s Safari-related. Thx!
I just tried your code and everything seems to work just fine for me as well so maybe it’s something related to your environment
teh
January 25, 2019, 5:48pm
10
Yeah, maybe, thanks anyways!