-
Task
-
Resolution: Fixed
-
Major
-
1.1.0
-
None
-
4.2 M7
for instance
<clause>{!ametys join=bar->qux q='#{id:"${../../../foo}"}'} OR {!ametys join=qux->foo->bar q='#{id:"${../../../foo}"}'}</clause>
throws:
java.lang.IllegalArgumentException: Query component 'tagName': if there's at least one group, every variable should be in a group. at org.ametys.plugins.extraction.component.AbstractSolrExtractionComponent._computeClausesInfos(AbstractSolrExtractionComponent.java:198) at org.ametys.plugins.extraction.component.AbstractSolrExtractionComponent.prepareComponentExecution(AbstractSolrExtractionComponent.java:148) at org.ametys.plugins.extraction.component.AbstractGroupExtractionComponent.prepareComponentExecution(AbstractGroupExtractionComponent.java:72) at org.ametys.plugins.extraction.component.QueryExtractionComponent.prepareComponentExecution(QueryExtractionComponent.java:118) at org.ametys.plugins.extraction.component.AbstractExtractionComponent.prepareComponentExecution(AbstractExtractionComponent.java:89) at org.ametys.plugins.extraction.component.AbstractSolrExtractionComponent.prepareComponentExecution(AbstractSolrExtractionComponent.java:140) at org.ametys.plugins.extraction.component.AbstractGroupExtractionComponent.prepareComponentExecution(AbstractGroupExtractionComponent.java:72) at org.ametys.plugins.extraction.component.QueryExtractionComponent.prepareComponentExecution(QueryExtractionComponent.java:118) at org.ametys.plugins.extraction.component.AbstractExtractionComponent.prepareComponentExecution(AbstractExtractionComponent.java:89) at org.ametys.plugins.extraction.component.AbstractSolrExtractionComponent.prepareComponentExecution(AbstractSolrExtractionComponent.java:140) at org.ametys.plugins.extraction.component.AbstractGroupExtractionComponent.prepareComponentExecution(AbstractGroupExtractionComponent.java:72) at org.ametys.plugins.extraction.component.QueryExtractionComponent.prepareComponentExecution(QueryExtractionComponent.java:118) at org.ametys.plugins.extraction.component.AbstractExtractionComponent.prepareComponentExecution(AbstractExtractionComponent.java:89) at org.ametys.plugins.extraction.component.AbstractSolrExtractionComponent.prepareComponentExecution(AbstractSolrExtractionComponent.java:140) at org.ametys.plugins.extraction.component.AbstractExtractionComponent.prepareComponentExecution(AbstractExtractionComponent.java:89) at org.ametys.plugins.extraction.execution.ExtractionExecutor._noVarExecute(ExtractionExecutor.java:254) at org.ametys.plugins.extraction.execution.ExtractionExecutor._doExecuteForPathWithNoVar(ExtractionExecutor.java:242) at org.ametys.plugins.extraction.execution.ExtractionExecutor._doExecute(ExtractionExecutor.java:221) at org.ametys.plugins.extraction.execution.ExtractionExecutor.execute(ExtractionExecutor.java:151) at org.ametys.plugins.extraction.execution.ExecuteExtractionSchedulable.execute(ExecuteExtractionSchedulable.java:110)