Skip to content

Fork Sync Branch 18.0 - #25

Merged
btl-bot merged 1 commit into
BTLzdravtech:18.0from
ingadhoc:18.0
Oct 22, 2026
Merged

btl-bot merged 1 commit into
BTLzdravtech:18.0from
ingadhoc:18.0

Conversation

@btl-bot

@btl-bot btl-bot commented Oct 22, 2026

Copy link
Copy Markdown

No description provided.

Backport of a480ee6 (19.0, #436).

Granting base.group_user to the parent menus without group was done while
loading the menus, but on 18.0 that runs inside readonly routes
(/web/session/get_session_info, the webclient), so the write breaks its
cursor with "cannot execute INSERT in a read-only transaction". The request
is retried with a read/write cursor, but the failed query is already logged
as an error, which turns a test run red: each test rolls the write back.

Doing it on _register_hook keeps the case covered and runs on a read/write
cursor. The field is groups_id on 18.0.

(cherry picked from commit a480ee6)

closes #466

Signed-off-by: lav-adhoc <lav@adhoc.com.ar>

@sireko sireko left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Auto approved

@btl-bot
btl-bot merged commit 8a87707 into BTLzdravtech:18.0 Oct 22, 2026
1 check passed
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