leehaut opened a new pull request, #9027:
URL: https://github.com/apache/hop/pull/9027

   Fix  https://github.com/apache/hop/issues/9019
   
   When a Pipeline executor (or any other transform that loads a child pipeline 
through `TransformWithMappingMeta.loadMappingMeta()`) cannot load that 
pipeline, the log shows the raw message placeholder instead of the file name:
   
   ```text
   Unable to load pipeline [{0}] : can't find directory
   ```
   
   `BaseMessages.getString(...)` was called without `realFilename`, so `{0}` 
was never filled in. The text also always said "can't find directory", whatever 
the real cause was (a missing file, invalid XML, and so on). The underlying 
exception is already chained as the cause.
   
   `loadMappingMeta()` now passes the resolved file name. The message is 
`Unable to load pipeline [{0}]`, and the same wording is updated in the de, es, 
it, pt_PT, pt_BR, and zh_CN bundles. Italian and Brazilian Portuguese did not 
have a `{0}` placeholder before, so those now include the file name as well.


-- 
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