title_format and route conflict? #6785
Replies: 4 comments
-
One thing that bugs me a bit: I was afraid it was the Entry Field relationship thing that causes this, but am seeing the same kind of usage in the title_format doc:
|
Beta Was this translation helpful? Give feedback.
-
I started from scratch a new site, and even in its most minimal configuration, with a single Collection, as soon as I set it up with a title_format: {whatever} AND a route: {something/{slug} , the Entry does not save, and I have to put my computer on life support… Could somebody try to replicate it?
I am really curious if it is a bug, or something sketchy on my side. |
Beta Was this translation helpful? Give feedback.
-
Reading both these Issues #6071 and #5757 made me rethink the necessity of having a slug, so I turned the slug generation off, deleted the slug Field, and it seems to work so far.
It is a bit annoying to have the Entry save with its Id as file name… but at least I have a working project. I'll have to run more intensive testing, and I hope it will not come and bite me later 🤞🏼 |
Beta Was this translation helpful? Give feedback.
-
So, FWIW, per my observations: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am confronted to a big problem, and I have no idea if it is some kind of bug, or if I am doing something very wrong.
I need to have the Titles of a whole bunch of Collections Entries to be generated automatically (to ensure consistency between dozens of users/editors).
My Collection file looks like this:
The
{eleve:title}
I use in the title_format is a Relationship Field, pulling data from another Collection.I have 12 Collections, sharing somewhat the same principles. I created some from the CP, some others directly in the files, copying-pasting, etc. Yesterday I noticed that for some of the Collections, when I wanted to create a new Entry via the CP, the progress bar on the screen would go veeeeeery slow, and my computer began to suffocate, to the point where I had to go and kill some php-fpm process through the activity monitor.
So this morning I am investigating the problem, and I notice that the working Collections did not have the route set up…
If I delete either the route, or the title_format, the Entry saves fine. As soon as I put the two variables, it strangles my computer.
It is worth noting that everything works super fine for already existing Entries, or if I create Entries manually directly in the files.
Any ideas would be very appreciated.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions