Skip to content

Decorative*ViewFactory initializeView clobbers upstream values #597

@rjrjr

Description

@rjrjr

Just triggered this landmine, it's been lurking for a while.

  • WorkflowViewStub uses the initializeView argument of ViewRegistry.buildView to ensure that we call WorkflowLifecycleOwner.installOn(this) before the first call to View.showRendering().
  • DecorativeViewFactory uses the same hook to delay the first call to showRendering(), so that we don't double-call it.
  • The DecorativeViewFactory case clobbers the WorkflowViewStub case.

Metadata

Metadata

Assignees

Labels

uiRelated to UI integration

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions