Login  Register

Teapot Cache Bug

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Teapot Cache Bug

ATTIOGBE Damessi Douwonou
3 posts

Hi, All I'm from AFRICA/TOGO,
I use Teapot, its Works, but the Routes cache stores the last Teapot routes,
When i remove the route and restart Teapot server, after one requets, Teapot Report ERROR and show the route which i removed.

Egg.

GET:/name/<name> -> [ :req | req at:#name ]

GET:/user/<name> -> [ :req | req at:#username ]

after remove  the first route and do: ZnEasy get:'http://localhost:8080/name/John',
Its works the first time.

After if I do: GET:/user/<name> -> [ :req | req at:#username ]


Have this Error: TeaNoSuchParam: Param 'name' not found 
rrefer to the first route. if i remove the route, the message persist.

--
John ATTIOGBE.

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Teapot Cache Bug

Attila Magyar
99 posts
Haven't you forgot to stop the old server? If you use the latest Teapot then there will be a Teapot menu item in the world menu where you can check how many instances are currently running. You can stop them from the context menu. Or try to evaluate Teapot stopAll to stop all of them.