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

Url slug is not set in models #10

Closed
Simply007 opened this issue Sep 1, 2017 · 1 comment
Closed

Url slug is not set in models #10

Simply007 opened this issue Sep 1, 2017 · 1 comment
Assignees

Comments

@Simply007
Copy link
Contributor

Simply007 commented Sep 1, 2017

Loading content using typescript SDK raise a warning that URL slug is not implemented:

  • You have to implement 'urlSlugResolver' in your Model class or your query in order to get url of this item
    field-types.js:196

i.e. Home page raise this warning 9 times.

Consequences on the content, that uses some links in rich text does not resolve them properly.
Example:
Link in article detail (http://localhost:3000/#/articles/coffee-processing-techniques)
contains link to Brazil Natural Barra Grande (content type Coffee) is not resolve
Expected:
http://localhost:3000/#/store/coffees/brazil-natural-barra-grande
But is
http://localhost:3000

image

@Simply007 Simply007 self-assigned this Sep 1, 2017
@Enngage Enngage self-assigned this Oct 2, 2017
@Enngage
Copy link
Contributor

Enngage commented Oct 2, 2017

I'll try looking at this

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