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

DEIMS: DE: breaks when no filters configured #73

Open
isangil opened this issue Mar 18, 2015 · 0 comments
Open

DEIMS: DE: breaks when no filters configured #73

isangil opened this issue Mar 18, 2015 · 0 comments

Comments

@isangil
Copy link
Member

isangil commented Mar 18, 2015

What happens?

You are in a Data Explorer form, (node/%/data : where the nid corresponds to a configured data-source.)

Your admin exposed some variables but did not allow users to filter on ANY variable.

The DE form shows "columns you want to include", but in the "filters you'd like to add" there is a "no filters found". OK so far.

You check some columns, hit submit. DEIMS answers with error - The website encountered an unexpected error. Please try again later.

Easy workaround: Have your DEIMS admin configuring the at least one of this data-source variables to be a filter. (check the second checkbox in one variable). The query will work now, provided all the rest is well configured.

Where in code? Cannot trace it yet - tried to wrap the query object 'filters' addition with isset of !empty, but failed. Deserves more investigation.

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

No branches or pull requests

1 participant