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

Archive Project fails from the Settings page #2333

Open
matiasgarciaisaia opened this issue Apr 24, 2024 · 0 comments
Open

Archive Project fails from the Settings page #2333

matiasgarciaisaia opened this issue Apr 24, 2024 · 0 comments
Labels

Comments

@matiasgarciaisaia
Copy link
Member

matiasgarciaisaia commented Apr 24, 2024

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:

Error report showing a JavaScript stacktrace

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).

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

No branches or pull requests

1 participant