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

[3.4] Hyphens in slugs throw exceptions #7124

Closed
bobdenotter opened this issue Oct 26, 2017 · 2 comments
Closed

[3.4] Hyphens in slugs throw exceptions #7124

bobdenotter opened this issue Oct 26, 2017 · 2 comments
Assignees
Milestone

Comments

@bobdenotter
Copy link
Member

If you have a contenttype like this:

dummies:
    slug: dummies-foo
    name: Dummies
    singular_slug: dummy-foo
    singular_name: Dummy
    fields:
        title:
            type: text
            class: large
            group: content
        slug:
            type: slug
            uses: title
        teaser:
            type: html
            height: 150px

It throws an exception:

screen shot 2017-10-26 at 15 19 56

Curiously enough, this does work:

dummies:
    slug: dummiesfoo
    name: Dummies
    singular_slug: dummyfoo
    singular_name: Dummy
    fields:
        title:
            type: text
            class: large
            group: content
        slug:
            type: slug
            uses: title
        teaser:
            type: html
            height: 150px
@bobdenotter
Copy link
Member Author

pinging @rossriley

@bobdenotter
Copy link
Member Author

Fixed in #7140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants