Skip to content

Conversation

@NL66278
Copy link

@NL66278 NL66278 commented Jan 27, 2026

This module will be extended with modules to connect to http systems, with additional modules to use oauth authorization.

This code is running in production at several customer sites already, together with additional modules for which PR's will follow.

@NL66278 NL66278 force-pushed the 16.0-base_external_system-extendable branch 2 times, most recently from 4790a4f to daa8398 Compare January 27, 2026 12:40
)
% {
"exception": exc,
"system_name": self.name,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I always find it slightly annoying if exceptions are converted to something else than they previously were. At the very least can we log the traceback, either in the logfile or to the chatter if it exists? Then it is possible to know where things went wrong.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically this is feedback to the user that he/she probably made an error configuring the connection. The action is to test the connection. So I think a ValidationError is the right thing to do here.

Copy link

@thomaspaulb thomaspaulb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some minor comments

@NL66278 NL66278 force-pushed the 16.0-base_external_system-extendable branch 5 times, most recently from 5d9e8da to d9aecbe Compare February 9, 2026 22:42
@NL66278
Copy link
Author

NL66278 commented Feb 9, 2026

@thomaspaulb I took up your comments, please look again

@NL66278 NL66278 force-pushed the 16.0-base_external_system-extendable branch from d9aecbe to e8222e9 Compare February 10, 2026 09:09
Changelog
=========

Version 16.0.1.0.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given all the major breaking changes done here, should they also be explained with a 16.0.2.0.0 changelog comment, with a rationale and a migration path? If someone had made custom dependent modules that add fields on base.external.system, this will now stop working and someone will need to redo the customization in a new way.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok sorry I'm talking nonsense here, it's not base.external.system that went to become an AbstractModel. Still, I would appreciate an explanation why this is better, if only to be able to review better, and for users to understand.

@NL66278 NL66278 force-pushed the 16.0-base_external_system-extendable branch 2 times, most recently from ceae1a5 to bad61bb Compare February 10, 2026 09:22
This module will be extended with modules to connect to http systems,
with additional modules to use oauth authorization.
@NL66278 NL66278 force-pushed the 16.0-base_external_system-extendable branch from bad61bb to 1b0b97b Compare February 10, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants