Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0] server_environment: Fix value assignation in compute from default #186

Merged

Conversation

grindtildeath
Copy link
Contributor

FW port of #185

@gurneyalex gurneyalex added this to the 17.0 milestone Jun 24, 2024
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.
@grindtildeath grindtildeath force-pushed the 17.0-fix-server_env_compute_from_default branch from a173268 to 464f3ec Compare June 24, 2024 16:48
@gurneyalex
Copy link
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 17.0-ocabot-merge-pr-186-by-gurneyalex-bump-patch, awaiting test results.

@OCA-git-bot
Copy link
Contributor

@gurneyalex The merge process could not be finalized, because command git push origin 17.0-ocabot-merge-pr-186-by-gurneyalex-bump-patch:17.0 failed with output:

To https://github.com/OCA/server-env
 ! [remote rejected] 17.0-ocabot-merge-pr-186-by-gurneyalex-bump-patch -> 17.0 (cannot lock ref 'refs/heads/17.0': is at 4821f4f48ef79095dbdb2041b64fed6ac8737047 but expected 40c12a6cd0371949aa323856e92314cafce7bfba)
error: failed to push some refs to 'https://***@github.com/OCA/server-env'

@OCA-git-bot OCA-git-bot merged commit 9e4556b into OCA:17.0 Jun 25, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
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
Revert "server_environment: Fix value assignation in compute from default"

This reverts commit 464f3ec which would
break other modules using server_environment.

The original issue must be fixed in mail_environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants