Closed amoeba closed 8 years ago
Welcome @amoeba! Definitely not intended behavior. :smile: We'd love a PR!
Great, I'll write one up this morning.
I believe this is fixed now.
It would appear that this bug has reappeared. I've been able to reproduce it reliably after upgrading to commit a76c68bffbcbd3ec4bea937a87dab9ec7e0cc590.
Is this fixed for you @virtadpt?
Just an FYI, I'm not reproducing this with a Huginn instance I refreshed from source two weeks ago.
Going to go ahead and close because I believe this is fixed. Please re-open if not!
This issue's been dead as disco for many months (the last time it popped up was a regression). I think it's well and truly done now.
As in the subject, deleting an agent from the agent's
show
action will attempt to redirect the user back to the agent'sshow
action which will result in an error. Is this intended behavior?A quick scan (I'm new to Huginn) shows that you can only find a link to
destroy
and agent in two locations: (1) the agents list and the agent'sshow
action itself. In both cases, the user probably wants to be redirected to the agents list.The current method in https://github.com/cantino/huginn/blob/master/app/controllers/agents_controller.rb:
If you agree, I could PR this.