You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon creating a new entry in sections with {id} in their URI (issues/{id}), the twig won't be parsed (at least in my case) - leaving the result in the uri column in the element_sites table as issues.
This leads to inevitable "Could not generate a unique URI based on the URI format." upon trying to save new entries.
This also only applies on initial saves/entry creation. Re-saving the entry will save the correct URI issues/12
Steps to reproduce
Create new channel section with the title "Issues" and entry URI format as issues/{id}
Save new blank entry in that section.
Check element_sites table to see resulting URI
Try to create new entry. Observe "Could not generate a unique URI based on the URI format."
Re-save first entry.
Additional info
Craft version: 3.0.9
PHP version: 7.1.17
The text was updated successfully, but these errors were encountered:
Description
Upon creating a new entry in sections with
{id}
in their URI (issues/{id}
), the twig won't be parsed (at least in my case) - leaving the result in theuri
column in theelement_sites
table asissues
.This leads to inevitable "Could not generate a unique URI based on the URI format." upon trying to save new entries.
This also only applies on initial saves/entry creation. Re-saving the entry will save the correct URI
issues/12
Steps to reproduce
issues/{id}
element_sites
table to see resulting URIAdditional info
The text was updated successfully, but these errors were encountered: