viloi opened a new issue, #7108:
URL: https://github.com/apache/hop/issues/7108

   ### Apache Hop version?
   
   2.17
   
   ### Java version?
   
   17.0.13
   
   ### Operating system
   
   Linux
   
   ### What happened?
   
   ### Step :
   
   Injecting value in 'File/directory' of 'select files' part of 'get data from 
xml' transform using 'Metadata injection' transform
   
   <img width="982" height="1040" alt="Image" 
src="https://github.com/user-attachments/assets/cd106364-bd20-466d-bb18-ecc99279c90e";
 />
   
   
   
   ###  Results : 
   
   1. 'FIle/directory' and 'field name' parameters are filled with same value 
when reopening the metadata injection transform
   
   <img width="979" height="1036" alt="Image" 
src="https://github.com/user-attachments/assets/342970ef-c4e1-413e-955b-8a18504508f1";
 />
   
   
   
   2. Only the Fields name is filled in the injected pipeline
   
   <img width="1111" height="623" alt="Image" 
src="https://github.com/user-attachments/assets/536dd68f-3000-4119-8e26-5c6156d4f23d";
 />
   <img width="1103" height="619" alt="Image" 
src="https://github.com/user-attachments/assets/21ab0f78-59fb-4124-a5cd-4ea17f3e71f8";
 />
   
   ### Possible reason :
   The two field have the same target_attribute_key : name
    
   ```xml
   <mapping>
           <target_transform_name>Get data from XML</target_transform_name>
           <target_attribute_key>name</target_attribute_key>
           <target_detail>Y</target_detail>
           <source_transform>Data grid</source_transform>
           <source_field>xml-directory</source_field>
   </mapping>
   ```
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: Metadata, Component: Transforms


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to