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.3k stars 677 forks source link

Updating article title causes internal server error #38

Closed callmemarv closed 2 years ago

callmemarv commented 2 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 2 years ago

Fixed with #37