mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
DBE-25198 DBE-25199 Fix extraction for grid in the list of objects in the database explorer
GitOrigin-RevId: 3fa3c457299e647e18b19cf0b7dac41704188f0d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c2ec1943cb
commit
6609bbb156
@@ -121,9 +121,12 @@ public abstract class DumpHandler<T> {
|
||||
int resultSetIndex = getResultSetIndex(s);
|
||||
ModelIndexSet<GridColumn> selectedColumns = getSelectedColumns(s);
|
||||
String queryText = myNameProvider.getQueryText(s);
|
||||
if (queryText == null) { // I see no reason to just ignore extractions with a null query if we allow empty string queries
|
||||
queryText = "";
|
||||
}
|
||||
String name = myNameProvider.getName(s);
|
||||
DataExtractor extractor = factory.createExtractor(createExtractorConfig(s, project));
|
||||
return extractor != null && queryText != null ?
|
||||
return extractor != null ?
|
||||
new Triple<>((T)s, extractor, new DumpHandlerParameters(selectedColumns, queryText, subQueryIndex, resultSetIndex, name)) :
|
||||
null;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user