-
Notifications
You must be signed in to change notification settings - Fork 24
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
LayerConfiguration lookup with no layers #5128
Comments
Is there a connection to the recent change where we allowed a dataset to have zero layers? I'm a bit fuzzy on the details, but I think we changed something there. |
Possibly, that was #4959 – making it “unusable”/"unimported". Do you know if the front-end still asks for layer configurations when opening an unimported dataset? |
Opening an "unimported" dataset should not be possible. But hitting "import" could open the edit/import view which fetches |
Hmm, no that route doesn’t lead to this query, only |
Yes, sounds good 👍 |
Closing this since there have been no reports of any errors concerning the layer configuration. |
We’ve had a single occurrence of this:
org.postgresql.util.PSQLException: ERROR: syntax error at or near ")"
Position: 194: ERROR: syntax error at or near ")"
Position: 194
Causing query: [select layerName, viewConfiguration
from webknossos.user_dataSetLayerConfigurations
where _dataset = ?
and _user = ?
and layerName in ()
]
The question mark is expected (displays passed parameters) but the
()
should never happen, it means an empty layer array was passed. Where did that come from?The text was updated successfully, but these errors were encountered: