-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Steps to reproduce
1 - Create a project
2 - Navigate to its Settings
3 - Click Archive project
The project should now be archived. Instead, Surveda throws an error in the UI with a meaningless explanation:
Firefox's Console says there's an undefined function dispatch or something:
TypeError: dispatch is not a function
error { target: Window, isTrusted: true, message: "TypeError: dispatch is not a function", filename: "http://app.surveda.lvh.me/js/app.js", lineno: 314503, colno: 15, error: TypeError, srcElement: Window, eventPhase: 0, bubbles: true, … }
bubbles: true
cancelBubble: false
cancelable: true
colno: 15
composed: false
currentTarget: null
defaultPrevented: true
error: TypeError: dispatch is not a function
eventPhase: 0
explicitOriginalTarget:
filename: "http://app.surveda.lvh.me/js/app.js"
isTrusted: true
lineno: 314503
message: "TypeError: dispatch is not a function"
originalTarget: Window http://app.surveda.lvh.me/projects/2/settings
returnValue: false
srcElement: Window http://app.surveda.lvh.me/projects/2/settings
target: Window http://app.surveda.lvh.me/projects/2/settings
timeStamp: 12669
type: "error"
: function isTrusted()
: ErrorEventPrototype { message: Getter, filename: Getter, lineno: Getter, … }
app.js:215197:11
Happens both in development (012c741) as in production (0.37.2).
