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

Return null to signal no support for listFilesQuery() #414

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

labkey-jeckels
Copy link
Contributor

Rationale

Stack Trace	
java.lang.UnsupportedOperationException: Not implemented
	at org.labkey.panoramapublic.PanoramaPublicFileListener.listFilesQuery(PanoramaPublicFileListener.java:63)
	at org.labkey.filecontent.FileContentServiceImpl.listFilesQuery(FileContentServiceImpl.java:1286)
	at org.labkey.core.query.FileListTableInfo$FileUnionTable.<init>(FileListTableInfo.java:62)
	at org.labkey.core.query.FileListTableInfo.createVirtualTable(FileListTableInfo.java:48)
	at org.labkey.core.query.FileListTableInfo.<init>(FileListTableInfo.java:42)
	at org.labkey.core.query.CoreQuerySchema.getFilesTable(CoreQuerySchema.java:662)
	at org.labkey.core.query.CoreQuerySchema.createTable(CoreQuerySchema.java:170)
	at org.labkey.api.query.UserSchema.createTable(UserSchema.java:333)
	at org.labkey.api.query.UserSchema._getTableOrQuery(UserSchema.java:274)
	at org.labkey.api.query.UserSchema.getTable(UserSchema.java:192)
	at org.labkey.api.query.UserSchema.getTable(UserSchema.java:172)
	at org.labkey.query.TableQueryDefinition.createTable(TableQueryDefinition.java:187)
	at org.labkey.query.QueryDefinitionImpl.getTable(QueryDefinitionImpl.java:565)
	at org.labkey.query.QueryDefinitionImpl.getTable(QueryDefinitionImpl.java:541)
	at org.labkey.api.query.UserSchema.createView(UserSchema.java:450)
	at org.labkey.core.query.CoreQuerySchema.createView(CoreQuerySchema.java:116)
	at org.labkey.core.admin.FileListAction.getView(FileListAction.java:41)
	at org.labkey.api.action.SimpleViewAction.handleRequest(SimpleViewAction.java:75)

Changes

  • Implementations can return null to opt out

@labkey-jeckels labkey-jeckels merged commit e7315eb into release23.11-SNAPSHOT Apr 1, 2024
2 of 3 checks passed
@labkey-jeckels labkey-jeckels deleted the 23.11_fb_listFilesQuery branch April 1, 2024 18:42
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

Successfully merging this pull request may close these issues.

2 participants