-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
record|link not working in listings loop #1398
Comments
Soo.. not a bug? |
Tested it again on a clean Bolt4 install. It does work there, so it's not a bug but something wrong in this specific site. The only difference (I know of) between the tested sites seems to be that a standard install is multilingual and the other has just one locale. |
Aha. When I add /nl/ in the browser addres bar, the link appears. (But I don't want that. It's a 1 language site) |
Hmm, that does sound kinda buggy, though.. What do you get when you do What does the yaml of the contenttype look like? |
From my local machine:
] From dev server (a cloned version: https://peter2.boors.ma/diary)
This is the complete contenttype:
|
Reopening.. There's something slightly weird here. |
Some additional info for this problem. Don't know if it's helpful... When I copied the project to remote (with a new empty db) the same problem appears: Probably related: Some yaml info: From services.yaml:
From contenttypes.yaml:
|
Update, could be related.. The frontend template now returns an error:
|
Info update: RC18 > RC20 update. When updating/saving a record the slug is empty. If I try to edit the slug, this is not saved. So I am unable to add/change the slug and the record gets "lost". |
I updated the project to RC21. (Bob: westerkerkleeuwarden). I think this should be a new issue but that's for you to decide. All records "lost" their slugs. Changes in content from certain field types won't show up in the frontend templates. Not even after I clear the cache, repeatedly. When creating a new record, the slug is not automatically created. I made a screencast to illustrate it :) Page breaks (with debug on) on the |
When you create a generic listing template (without a setcontent) to get all the records from a contenttype, the
{{ record|link }}
does not seem to work.Example:
Output is
https://site.name/contenttype
Should be:
https://site.name/contentype/recordslug
I also tested this with the standard themes (base-2018, skeleton) with the same results.
Bolt 4.0.0 RC19
The text was updated successfully, but these errors were encountered: