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

   ## Summary
   
   Fixes project/environment enable failures on configs created before the 
marketplace plugin:
   
   > Marketplace environment file not found for environment '…'. Set 
marketplace attribute envFile or place hop-env.yaml under the project home.
   
   ### Cause
   - Unset `onEnable` defaulted by **purpose** (Production → `enforce`).
   - Missing `envFile` + no `hop-env.yaml` still treated as a hard failure 
under enforce.
   
   ### Fix
   - Runtime: missing `onEnable` → **`off`** (opt-in only). Purpose-based 
values remain **UI suggestions** when opening the marketplace tab on a 
lifecycle environment.
   - Missing env file with **no** explicit `envFile` attribute → silent skip 
(detailed log only).
   - Explicit `envFile` path that does not exist → warn, or throw only when 
`onEnable=enforce`.
   
   ## Test plan
   - [x] `MarketplaceAttributesTest` (unset Production → off; explicit override)
   - [ ] Enable a pre-marketplace Production lifecycle environment → no error 
dialog
   - [ ] Set envFile + enforce with missing path → still fails as expected
   - [ ] Set envFile to valid hop-env + warn/enforce → still validates
   
   Fixes #7656


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