Skip to content
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

Slug sometimes not slugging #1785

Closed
bobdenotter opened this issue Aug 27, 2020 · 1 comment · Fixed by #1786
Closed

Slug sometimes not slugging #1785

bobdenotter opened this issue Aug 27, 2020 · 1 comment · Fixed by #1786
Assignees
Labels
🐛 tag: bug This is a bug.

Comments

@bobdenotter
Copy link
Member

Sometimes (I've seen it twice, and also reported by @peterboorsma), the slug doesn't generate.

For the same site, my local setup works:

Screenshot_2020-08-27_at_08_18_02

But on production it doesn't work:

Screenshot_2020-08-27_at_08_18_18

The contenttype is pretty straightforward:

news:
    name: News
    singular_name: Newsitem
    recordsperpage: 5
    fields:
	title:
            type: text
            class: large
        image:
            type: image
        content:
            type: redactor
       	slug:
            type: slug
            uses: title

Could this be related to issue #1784, not detecting that "title" is indeed a valid field to generate the Slug from? 🤔

@bobdenotter bobdenotter added the 🐛 tag: bug This is a bug. label Aug 27, 2020
@bobdenotter bobdenotter added this to the Bolt 4.0.0 stable milestone Aug 27, 2020
@bobdenotter
Copy link
Member Author

Some additional findings: For me it happens on new Records.. If I edit an existing one, i can select the "Generate from title" option as expected:

Screenshot 2020-08-27 at 08 35 17

However on new Records, it breaks. It seems to go wrong in the step generating the HTML. Not the generate attribute in these screenshots from working vs non-working similar setups:

Screenshot 2020-08-27 at 08 32 06

Screenshot 2020-08-27 at 08 33 45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 tag: bug This is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants