You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "dokatrifork (via GitHub)" <gi...@apache.org> on 2025/09/11 14:47:31 UTC

[I] Bug: MI Collection input dropdown does not keep the state [incubator-kie-tools]

dokatrifork opened a new issue, #3278:
URL: https://github.com/apache/incubator-kie-tools/issues/3278

   For the Apache KIEā„¢ Kogito Bundle in vs code:
   1. I created a Multiple Instance Sub-process. For it's properties, I set the "MI Collection input" correctly.
   2. I save the file.
   3. When I go back to the properties, the "MI Collection input" is empty, even though the property seems to be set correctly.
   
   Example .bmpn2 file:
   ```
   <?xml version="1.0" encoding="UTF-8"?>
   <bpmn2:definitions xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:drools="http://www.jboss.org/drools" xmlns:xsi="xsi" id="_7A8dAHFLED62K9miqqCtaA" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd http://www.omg.org/spec/DD/20100524/DC DC.xsd http://www.omg.org/spec/DD/20100524/DI DI.xsd " exporter="jBPM Process Modeler" exporterVersion="2.0" targetNamespace="http://www.omg.org/bpmn20">
     <bpmn2:itemDefinition id="_blobFilesItem" structureRef="java.util.List"/>
     <bpmn2:itemDefinition id="_blobFileItem" structureRef="String"/>
     <bpmn2:itemDefinition id="_2DA05CFE-8BA5-437D-A5BF-792D82C0C41C_multiInstanceItemType_blobFile" structureRef="String"/>
     <bpmn2:collaboration id="_F6DEF0B4-8640-4C37-B03B-739C9D956017" name="Default Collaboration">
       <bpmn2:participant id="_BE5B2D60-05CA-4549-8D14-9F725DFB6547" name="Pool Participant" processRef="validate_parquet"/>
     </bpmn2:collaboration>
     <bpmn2:process id="validate_parquet" drools:packageName="com.example" drools:version="1.0" drools:adHoc="false" name="validate-parquet" isExecutable="true" processType="Public">
       <bpmn2:property id="blobFiles" itemSubjectRef="_blobFilesItem" name="blobFiles"/>
       <bpmn2:sequenceFlow id="_C8F65E96-CDAF-41E3-96BB-C876B7B0B335" sourceRef="_2DA05CFE-8BA5-437D-A5BF-792D82C0C41C" targetRef="_8B016600-9825-4ACD-9053-D4DDBBCA16F0"/>
       <bpmn2:sequenceFlow id="_BD4937BA-A12B-4C49-AC15-6394EB42789F" sourceRef="_A53E7668-1906-407F-A22D-068E0273CCBC" targetRef="_2DA05CFE-8BA5-437D-A5BF-792D82C0C41C"/>
       <bpmn2:endEvent id="_8B016600-9825-4ACD-9053-D4DDBBCA16F0">
         <bpmn2:incoming>_C8F65E96-CDAF-41E3-96BB-C876B7B0B335</bpmn2:incoming>
       </bpmn2:endEvent>
       <bpmn2:startEvent id="_A53E7668-1906-407F-A22D-068E0273CCBC">
         <bpmn2:outgoing>_BD4937BA-A12B-4C49-AC15-6394EB42789F</bpmn2:outgoing>
       </bpmn2:startEvent>
       <bpmn2:subProcess id="_2DA05CFE-8BA5-437D-A5BF-792D82C0C41C" name="Multiple Instance">
         <bpmn2:extensionElements>
           <drools:metaData name="elementname">
             <drools:metaValue><![CDATA[Multiple Instance]]></drools:metaValue>
           </drools:metaData>
         </bpmn2:extensionElements>
         <bpmn2:incoming>_BD4937BA-A12B-4C49-AC15-6394EB42789F</bpmn2:incoming>
         <bpmn2:outgoing>_C8F65E96-CDAF-41E3-96BB-C876B7B0B335</bpmn2:outgoing>
         <bpmn2:ioSpecification>
           <bpmn2:dataInput id="_2DA05CFE-8BA5-437D-A5BF-792D82C0C41C_blobFileInputX" itemSubjectRef="_2DA05CFE-8BA5-437D-A5BF-792D82C0C41C_multiInstanceItemType_blobFile" name="blobFile"/>
           <bpmn2:inputSet>
             <bpmn2:dataInputRefs>_2DA05CFE-8BA5-437D-A5BF-792D82C0C41C_blobFileInputX</bpmn2:dataInputRefs>
           </bpmn2:inputSet>
           <bpmn2:outputSet/>
         </bpmn2:ioSpecification>
         <bpmn2:property id="blobFile" itemSubjectRef="_blobFileItem" name="blobFile"/>
         <bpmn2:multiInstanceLoopCharacteristics>
           <bpmn2:inputDataItem id="blobFile" itemSubjectRef="_2DA05CFE-8BA5-437D-A5BF-792D82C0C41C_multiInstanceItemType_blobFile" name="blobFile"/>
         </bpmn2:multiInstanceLoopCharacteristics>
         <bpmn2:sequenceFlow id="_2E101D49-6429-4FD2-A049-28332222871C" sourceRef="_6600DB15-931E-4370-9922-567DF7045C8D" targetRef="_03548081-3D75-4507-A0E8-CDBAA22B9714"/>
         <bpmn2:sequenceFlow id="_5EE243BD-6E9A-4AD8-9E7A-FA1CC6961E45" sourceRef="_03548081-3D75-4507-A0E8-CDBAA22B9714" targetRef="_D5416058-09AB-4BAF-82D2-9523DA478DE6"/>
         <bpmn2:scriptTask id="_03548081-3D75-4507-A0E8-CDBAA22B9714" name="Task" scriptFormat="http://www.java.com/java">
           <bpmn2:extensionElements>
             <drools:metaData name="elementname">
               <drools:metaValue><![CDATA[Task]]></drools:metaValue>
             </drools:metaData>
           </bpmn2:extensionElements>
           <bpmn2:incoming>_2E101D49-6429-4FD2-A049-28332222871C</bpmn2:incoming>
           <bpmn2:outgoing>_5EE243BD-6E9A-4AD8-9E7A-FA1CC6961E45</bpmn2:outgoing>
           <bpmn2:script>System.out.println(blobFile);
   </bpmn2:script>
         </bpmn2:scriptTask>
         <bpmn2:startEvent id="_6600DB15-931E-4370-9922-567DF7045C8D">
           <bpmn2:outgoing>_2E101D49-6429-4FD2-A049-28332222871C</bpmn2:outgoing>
         </bpmn2:startEvent>
         <bpmn2:endEvent id="_D5416058-09AB-4BAF-82D2-9523DA478DE6">
           <bpmn2:incoming>_5EE243BD-6E9A-4AD8-9E7A-FA1CC6961E45</bpmn2:incoming>
         </bpmn2:endEvent>
       </bpmn2:subProcess>
     </bpmn2:process>
     <bpmndi:BPMNDiagram>
       <bpmndi:BPMNPlane bpmnElement="validate_parquet">
         <bpmndi:BPMNShape id="shape__2DA05CFE-8BA5-437D-A5BF-792D82C0C41C" bpmnElement="_2DA05CFE-8BA5-437D-A5BF-792D82C0C41C">
           <dc:Bounds height="247" width="1037" x="735" y="336"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape id="shape__D5416058-09AB-4BAF-82D2-9523DA478DE6" bpmnElement="_D5416058-09AB-4BAF-82D2-9523DA478DE6">
           <dc:Bounds height="56" width="56" x="1637" y="432"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape id="shape__6600DB15-931E-4370-9922-567DF7045C8D" bpmnElement="_6600DB15-931E-4370-9922-567DF7045C8D">
           <dc:Bounds height="56" width="56" x="786" y="432"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape id="shape__03548081-3D75-4507-A0E8-CDBAA22B9714" bpmnElement="_03548081-3D75-4507-A0E8-CDBAA22B9714">
           <dc:Bounds height="102" width="154" x="960" y="410"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge id="edge_shape__03548081-3D75-4507-A0E8-CDBAA22B9714_to_shape__D5416058-09AB-4BAF-82D2-9523DA478DE6" bpmnElement="_5EE243BD-6E9A-4AD8-9E7A-FA1CC6961E45">
           <di:waypoint x="1037" y="461"/>
           <di:waypoint x="1665" y="460"/>
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge id="edge_shape__6600DB15-931E-4370-9922-567DF7045C8D_to_shape__03548081-3D75-4507-A0E8-CDBAA22B9714" bpmnElement="_2E101D49-6429-4FD2-A049-28332222871C">
           <di:waypoint x="814" y="460"/>
           <di:waypoint x="1037" y="461"/>
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNShape id="shape__A53E7668-1906-407F-A22D-068E0273CCBC" bpmnElement="_A53E7668-1906-407F-A22D-068E0273CCBC">
           <dc:Bounds height="56" width="56" x="523" y="432"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape id="shape__8B016600-9825-4ACD-9053-D4DDBBCA16F0" bpmnElement="_8B016600-9825-4ACD-9053-D4DDBBCA16F0">
           <dc:Bounds height="56" width="56" x="1868" y="433"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge id="edge_shape__A53E7668-1906-407F-A22D-068E0273CCBC_to_shape__2DA05CFE-8BA5-437D-A5BF-792D82C0C41C" bpmnElement="_BD4937BA-A12B-4C49-AC15-6394EB42789F">
           <di:waypoint x="551" y="460"/>
           <di:waypoint x="735" y="459.5"/>
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge id="edge_shape__2DA05CFE-8BA5-437D-A5BF-792D82C0C41C_to_shape__8B016600-9825-4ACD-9053-D4DDBBCA16F0" bpmnElement="_C8F65E96-CDAF-41E3-96BB-C876B7B0B335">
           <di:waypoint x="1253.5" y="459.5"/>
           <di:waypoint x="1868" y="461"/>
         </bpmndi:BPMNEdge>
       </bpmndi:BPMNPlane>
     </bpmndi:BPMNDiagram>
     <bpmn2:relationship type="BPSimData">
       <bpmn2:extensionElements>
         <bpsim:BPSimData>
           <bpsim:Scenario id="default" name="Simulationscenario">
             <bpsim:ScenarioParameters/>
             <bpsim:ElementParameters elementRef="_A53E7668-1906-407F-A22D-068E0273CCBC">
               <bpsim:TimeParameters>
                 <bpsim:ProcessingTime>
                   <bpsim:NormalDistribution mean="0" standardDeviation="0"/>
                 </bpsim:ProcessingTime>
               </bpsim:TimeParameters>
             </bpsim:ElementParameters>
           </bpsim:Scenario>
         </bpsim:BPSimData>
       </bpmn2:extensionElements>
       <bpmn2:source>_7A8dAHFLED62K9miqqCtaA</bpmn2:source>
       <bpmn2:target>_7A8dAHFLED62K9miqqCtaA</bpmn2:target>
     </bpmn2:relationship>
   </bpmn2:definitions>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org