Volmarg / personal-management-system

Your web application for managing personal data. personal.management.system.inbox@gmail.com
http://personal-management-system.pl/
MIT License
3.19k stars 255 forks source link

Renaming categories fails to update route #110

Open Remillardj opened 2 years ago

Remillardj commented 2 years ago

I created a category called 'Important Links'. I renamed it later to 'Technical' and noticed when I did that, the original route http://pmd:8001/my-notes/category/Important%20Links/ gave a no route found error which is expected. However, the category does not show up on the sidebar even after refreshing the browser. I manually typed in the address replacing 'Important Links' with 'Technical' and I get a route missing error.

Running latest source on the latest CentOS 7 and on the latest docker.


No route found for "GET /my-notes/category/Important%20Links/"

  at vendor/symfony/http-kernel/EventListener/RouterListener.php:136
  at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:151)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (vendor/symfony/http-kernel/HttpKernel.php:133)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:196)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:46) 

Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET /my-notes/category/Technical"

  at vendor/symfony/http-kernel/EventListener/RouterListener.php:136
  at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:151)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (vendor/symfony/http-kernel/HttpKernel.php:133)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:196)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:46)```