-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can no longer save certain data types #1390
Comments
No blueprints have not changed in 1.4, but there have been some fixes with form validation. What version did you update from? I think if you have not updated in some time, you are running into an issue where you don't have some field that is now required. This was changed during 1.3 version though. Usually, it's best to extend default page for this reason. |
I've been keeping it updated, so it was 1.3. I just tried adding what I hope does the extending, so the blueprint now starts:
It hasn't made any difference, alas. But that might be because I pruned the default of anything I thought I didn't need. I don't fully understand about the extending: what does |
I have now recreated the original default page blueprint, and I still can't save from the Piece blueprint, although I can save from a different blueprint. Can it be a problem with my yaml that is being picked up in 1.4 but wasn't picked up in 1.3? |
OK, I think I have it. Editor-type fields can't be marked as required at present. I presume that's a bug. This is what happens. One of my fields is defined like this:
That doesn't save from the admin panel. But if I remove the validation, it works fine. I.e. this works:
|
Hah, i didn't see you had replied here. And I narrowed it down to the same thing. Yes, that looks like a bug.. i'll create a new one for this issue. |
Hey @ThosG I resolved this issue, please have a look at my comment in #1393 (comment) for a throughout explanation and if you could give this a test that would be very appreciated. |
Using Grav v1.4.1 - Admin v1.7.1 and Bones theme. Until recently, I could create a new page in the Admin panel, but now (possibly since updating Admin) I can create some types of page but one type doesn't work any longer: on pressing Save there is no response.
Here is the blueprint of the type that doesn't work.
Have the requirements for blueprints changed?
The text was updated successfully, but these errors were encountered: