gothinkster / spring-boot-realworld-example-app

Example Spring codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.
MIT License
1.31k stars 680 forks source link

Updating article title causes internal server error #38

Closed callmemarv closed 3 years ago

callmemarv commented 3 years ago

Updating the title of an article updates the slug in the background. The update endpoint then tries to retrieve the updated article using the old slug which results in an internal server error.

I created a pull request that fixes the problem by using the updated slug instead. https://github.com/gothinkster/spring-boot-realworld-example-app/pull/37

callmemarv commented 3 years ago

Fixed with #37