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

Javascript error on add project page #714

Closed
Zlopez opened this issue Jan 30, 2019 · 4 comments
Closed

Javascript error on add project page #714

Zlopez opened this issue Jan 30, 2019 · 4 comments

Comments

@Zlopez
Copy link
Contributor

Zlopez commented Jan 30, 2019

Issue

Javascript is not working on https://release-monitoring.org/project/new, because of the syntax error in javascript.

SyntaxError: unexpected token: identifier

This is related to this line, which is missing the ;. Also it looks like the jinja is removing \n, so the next line is actually appended to previous line.

Solution

Add missing ;
Add empty line before jinja if statement

@yarons yarons mentioned this issue Jan 30, 2019
Zlopez pushed a commit that referenced this issue Feb 4, 2019
@yarons
Copy link
Contributor

yarons commented Feb 4, 2019

Can we close this? @Zlopez

@Zlopez
Copy link
Contributor Author

Zlopez commented Feb 4, 2019

Yes, this is fixed.

@Zlopez Zlopez closed this as completed Feb 4, 2019
@nqb
Copy link
Contributor

nqb commented Feb 27, 2019

Any workaround to add a project before 0.15 released on release-monitoring.org ?

@Zlopez
Copy link
Contributor Author

Zlopez commented Feb 27, 2019

Everything should work, but the fields aren't hide or shown when backend is changed.

So you can add new projects, but you'll see more fields than we actually use.

In the meantime you can look at the staging instance of Anitya and see what fields are currently used there. The staging is running on 0.15.0 already. Look at the id of the fields.

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

No branches or pull requests

3 participants