Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flipflop::StrategyError: Strategy '<UUID>' unknown. #28

Open
ChrisCPO opened this issue Oct 4, 2018 · 2 comments
Open

Flipflop::StrategyError: Strategy '<UUID>' unknown. #28

ChrisCPO opened this issue Oct 4, 2018 · 2 comments

Comments

@ChrisCPO
Copy link

ChrisCPO commented Oct 4, 2018

where getting the following error every now and then when a strategy is turned off.
Flipflop::StrategyError: Strategy '<UUID>' unknown.

Backtrace includes:

/gems/flipflop-2.2.1/app/controllers/flipflop/strategies_controller.rb:26 in strategy
/gems/flipflop-2.2.1/app/controllers/flipflop/strategies_controller.rb:6 in update

This is pretty ambiguous.

flipflop version is 2.2.1
rails version is 5.1.4

@rolftimmermans
Copy link
Member

I guess this can happen if your dashboard is open but you have changed the strategy definition(s) in the mean time. Could that be possible?

@ChrisCPO
Copy link
Author

I was somewhat able to recreate this:

I disabled a Redis backed toggle(set to off) then without refreshing the page, a few minutes later turned it back on and got this error. Even when refreshing the page several times I got this error. On the third try It set and things were fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants