[17.0] server_environment: Fix value assignation in compute from default#186
Merged
OCA-git-bot merged 1 commit intoOCA:17.0from Jun 25, 2024
Conversation
Since previous commit adding support for ssl certificate auth, field smtp_authentication in ir.mail_server, became a field managed by environment, when mail_environment is installed. This field has been defined using a default value relying on the compute_default property allowing to define a compute function, which matches the default value of the field. However, as the function _compute_server_env_from_default was broken, because it did not assign the computed value to the field, the field was empty and connection was broken.
a173268 to
464f3ec
Compare
gurneyalex
approved these changes
Jun 25, 2024
Member
|
/ocabot merge patch |
Contributor
|
Hey, thanks for contributing! Proceeding to merge this for you. |
Contributor
|
@gurneyalex The merge process could not be finalized, because command |
Contributor
|
Congratulations, your PR was merged at 4821f4f. Thanks a lot for contributing to OCA. ❤️ |
gurneyalex
added a commit
to gurneyalex/server-env
that referenced
this pull request
Jun 27, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FW port of #185