Upgrade Status module is generating warnings that Read-only properties are incompatible with DependencySerializationTrait. This affects both the settings form and the block generated by this module.

Research led me to Dependency Injection in a form, which says "be sure to not set any service properties in your form class to have private visibility." I would assume the same warning applies to blocks for similar reasons.

Comments

micahw156 created an issue. See original summary.

  • micahw156 authored 584aada8 on 1.2.x
    Issue #3611511 by micahw156: Fix read-only injected service properties...
micahw156’s picture

Status: Active » Fixed

Fixed.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

micahw156’s picture

Update status is still throwing warnings on this issue, so the change might not have been necessary.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.