Slug is not updating (translatable slug) #235
Unanswered
kskrlinnorth2
asked this question in
Q&A
Replies: 3 comments 2 replies
-
The tests prove that this package is working as intended. Could you check the tests? If there's something not working, PR a failing test for us to fix. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Same problem |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same here. Here's a test that triggers the problem. I don't know whether it's intended behaviour or not but setting the slug manually once blocks subsequent automatic updates:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package v3.4.0
Laravel v9
Model slug definition:
It works only on create and it can't be updated with none of provided solutions:
$event->update(['name' => 'New name']); // Not working, slug is not updated
Slug update only works if I directly update the slug, but for this kind of code I don't even need any package.
Beta Was this translation helpful? Give feedback.
All reactions