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

Regression in Auth Flow example: Uncaught Error: Cannot handle REPLACE in the middle of another action. #334

Closed
ryanflorence opened this issue Sep 29, 2014 · 1 comment

Comments

@ryanflorence
Copy link
Member

I think this is due to #325 or #326 from @gaearon

Open up the auth flow example, then click "dashboard".

Uncaught Error: Cannot handle REPLACE in the middle of another action. Uncaught Error: Cannot handle REPLACE in the middle of another action. LocationActions.js:20
dispatchAction LocationActions.js:20
LocationActions.replaceWith LocationActions.js:118
defaultAbortedTransitionHandler Routes.js:32
(anonymous function) Routes.js:131
(anonymous function) Routes.js:162
(anonymous function) Routes.js:300
runHooks Routes.js:392
runTransitionToHooks Routes.js:364
(anonymous function) Routes.js:298
runHooks Routes.js:392
runTransitionFromHooks Routes.js:341
computeNextState Routes.js:294
React.createClass.dispatch Routes.js:160
ReactCompositeComponentMixin._bindAutoBindMethod.boundMethod ReactCompositeComponent.js:1295
React.createClass.updatePath Routes.js:127
ReactCompositeComponentMixin._bindAutoBindMethod.boundMethod ReactCompositeComponent.js:1295
PathListener.handlePathChange PathListener.js:105
ReactCompositeComponentMixin._bindAutoBindMethod.boundMethod ReactCompositeComponent.js:1295
EventEmitter.emit events.js:76
notifyChange PathStore.js:11
(anonymous function) PathStore.js:49
Dispatcher.$Dispatcher_invokeCallback Dispatcher.js:218
Dispatcher.dispatch Dispatcher.js:193
copyProperties.handleViewAction LocationDispatcher.js:10
dispatchAction LocationActions.js:33
LocationActions.transitionTo LocationActions.js:103
React.createClass.handleClick Link.js:110
ReactCompositeComponentMixin._bindAutoBindMethod.boundMethod ReactCompositeComponent.js:1295
executeDispatch EventPluginUtils.js:117
SimpleEventPlugin.executeDispatch SimpleEventPlugin.js:309
forEachEventDispatch EventPluginUtils.js:105
executeDispatchesInOrder EventPluginUtils.js:126
executeDispatchesAndRelease EventPluginHub.js:55
forEachAccumulated forEachAccumulated.js:32
EventPluginHub.processEventQueue EventPluginHub.js:269
runEventQueueInBatch ReactEventEmitterMixin.js:25
ReactEventEmitterMixin.handleTopLevel ReactEventEmitterMixin.js:51
handleTopLevelImpl ReactEventListener.js:87
Mixin.perform Transaction.js:141
ReactDefaultBatchingStrategy.batchedUpdates ReactDefaultBatchingStrategy.js:70
batchedUpdates ReactUpdates.js:113
ReactEventListener.dispatchEvent
@gaearon
Copy link
Contributor

gaearon commented Sep 29, 2014

This should be fixed by #332

@gaearon gaearon mentioned this issue Sep 29, 2014
4 tasks
@lock lock bot locked as resolved and limited conversation to collaborators Jan 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants