Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Comments improved

Aleix Suau0b9aa92331bb
diff --git a/frontend/src/app/globals/dynamic-bootstrapper.ts b/frontend/src/app/globals/dynamic-bootstrapper.ts
index 64dea285ff7..41bb165faa6 100644
--- a/frontend/src/app/globals/dynamic-bootstrapper.ts
+++ b/frontend/src/app/globals/dynamic-bootstrapper.ts
@@ -83,9 +83,9 @@ export class DynamicBootstrapper {
*/
public static bootstrapOptionalEmbeddable(appRef:ApplicationRef, element:HTMLElement, definitions = this.optionalBoostrapComponents) {
// Delay the execution to avoid bootstrapping the embedded components while
- // the app is running the Change Detection ("ApplicationRef.tick is called recursively"
- // error) caused because of bootstrapOptionalEmbeddable and bootstrapOptionalDocument
- // calling this.performBootstrap at the same time
+ // the app is running the Change Detection. This was throwing "ApplicationRef.tick
+ // is called recursively" error because of bootstrapOptionalEmbeddable and
+ // bootstrapOptionalDocument were called too close (ie: ckEditor macros).
Promise.resolve().then(() => this.performBootstrap(appRef, element, true, definitions));
}