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

"New view" button does not work #4260

Closed
klikstermkd opened this issue May 17, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@klikstermkd
Copy link
Contributor

commented May 17, 2018

CKAN Version if known (or site URL)

2.8

Please describe the expected behaviour

If the portal is in Bootstrap 2 mode, the "New view" button located in the "Views" tab for a resource, when clicked it should give a list of possible views to create.

Please describe the actual behaviour

If the portal is in Bootstrap 2 mode, the "New view" button located in the "Views" tab for a resource, when clicked it does not give a list of possible views to create. Instead in the browser console it shows the following error when clicked:

jquery.min.js:2 Uncaught Error: Syntax error, unrecognized expression: #
    at Function.ga.error (jquery.min.js:2)
    at ga.tokenize (jquery.min.js:2)
    at ga.select (jquery.min.js:2)
    at Function.ga [as find] (jquery.min.js:2)
    at r.fn.init.find (jquery.min.js:2)
    at new r.fn.init (jquery.min.js:2)
    at r (jquery.min.js:2)
    at i (jquery.fileupload.min.js:6)
    at HTMLAnchorElement.toggle (jquery.fileupload.min.js:6)
    at HTMLDocument.dispatch (jquery.min.js:3)

What steps can be taken to reproduce the issue?

In a CKAN 2.8 portal, make it to use Bootstrap 2 by setting ckan.base_templates_folder to templates-bs2 and ckan.base_public_folder to public-bs2 in the config file. Then create a resource. Go to the "Manage" page for the created resource and then "Views" tab. Try to click the "New view" button.

Sacrond referenced this issue May 21, 2018

[#1314] Single Solr schema file
To make easier to track changes and simplify the deplyment and upgrade,
the Solr schema file included in the CKAN source is now unified under
`schema.xml`.

As part of the release process, the file will be checked for changes,
and if present the version numbers on the schema file and the supported
versions list will be updated.

Release, install and upgrade docs have been updated to reflect this
changes.

Travis now also always points to schema.xml
@amercader

This comment has been minimized.

Copy link
Member

commented May 22, 2018

@klikstermkd can you have a look and see if it's an easy fix?

@klikstermkd

This comment has been minimized.

Copy link
Contributor Author

commented May 22, 2018

@amercader Yes I will.

@tino097 tino097 referenced this issue Jul 19, 2018

Merged

[#4260] 'New view' button fix #4350

1 of 5 tasks complete

amercader added a commit that referenced this issue Jul 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.