talexandru2108-netizen opened a new pull request, #77:
URL: https://github.com/apache/sling-org-apache-sling-distribution-core/pull/77

   When the digest option is set back to NONE through configuration/UI flows, 
the persisted value can become "Do not send digest" instead of the expected 
internal value NONE.
   
   At runtime, package creation expects supported digest identifiers such as 
NONE, MD5, SHA-1, etc. If the label text is stored instead, package creation 
fails with:
   
   IllegalArgumentException: Digest algorithm Do not send digest not supported 
in this version.
   
   This change ensures the configuration continues to use the internal value 
NONE rather than the human-readable label, so reverse distribution/package 
creation works correctly.
   
   Typical reproduction:
   
   Configure the digest algorithm.
   Change it to another value such as MD5.
   Switch it back to NONE / "Do not send digest".
   Create/export a package.
   Observe failure if the label is persisted instead of NONE.


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