Skip to content

Remove the warnings on runbot #4498

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

Draft
wants to merge 425 commits into
base: master-mysterious-egg
Choose a base branch
from

Conversation

Syozik
Copy link

@Syozik Syozik commented Apr 28, 2025

No description provided.

Goaman and others added 30 commits April 18, 2025 11:19
This commit addresses a race condition in the `onEditPage` method of
the `WebsiteBuilder` component. The issue occurred when asynchronous
operations (like iframe loading and asset bundle loading) were not
completed before proceeding with the editing flow, leading to
unpredictable behavior.

Changes:
- Added `await this.iframeLoaded` in `onEditPage` to ensure the iframe
is fully loaded before loading assets or enabling editing.
- Set the `is-ready` attribute on the iframe element in `onIframeLoad`
to mark it as ready once the iframe content is loaded.

These changes ensure that all dependencies are properly initialized
before enabling the editing mode, resolving the race condition.
After dropping, we want to stay on the block tab, to drag other blocks
afterwards.
sobo-odoo and others added 21 commits April 24, 2025 09:16
When calling twice `customizeWebsiteColors` or
`customizeWebsiteVariables` without awaiting them, the same file may be
created twice in DB. This causes crashes (error 500 in both the backend
and the frontend) which are very hard to recover from.
This can happen due to the introduction of a `composite` action in the
next commit, by going through clean/apply (for websiteConfig) or by
calling 2 actions which both trigger one of the async methods.

Additionnally, it's better to batch `reloadBundles` too so that its RPC
call is only done once, at the end.
Before this commit, in website builder:
- overlay does not close when clicked outside the iframe (Toolbar, link popover)
- When you add a link with the link popover, it closes when you add the first char of the url.
- when you have a banner and text:
    - you select the text
    - the toolbar opens
    - click on the banner icon
    - The toolbar should close
when header template is changed, like old data-trigger
@robodoo
Copy link

robodoo commented Apr 28, 2025

This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged.

@Syozik Syozik force-pushed the master-mysterious-egg-seru-03 branch 2 times, most recently from c8270e8 to 44c4e74 Compare April 28, 2025 09:19
@Syozik Syozik force-pushed the master-mysterious-egg-seru-03 branch from 44c4e74 to 1d124d6 Compare April 28, 2025 11:03
@ged-odoo
Copy link

for this one, i think we don't want to hide the warning like this. we want to solve the underlying issue, hopefully before the merge.

@ged-odoo ged-odoo force-pushed the master-mysterious-egg branch from e24556e to 897f4ab Compare April 29, 2025 18:30
@Syozik Syozik marked this pull request as draft April 30, 2025 07:02
@robodoo
Copy link

robodoo commented Apr 30, 2025

This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged.

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.