Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Validator incompatibility with ProxyManager #35544

Closed
@alekitto

Description

@alekitto

Symfony version(s) affected: 5.0.4

Description
When trying to validate a value holder proxy generated with ocramius/proxy-manager, all the public properties will be unset at construction.
This results inReflectionProperty::isInitialized() returning false as clearly documentedhere.
PR#35532 introduced check onisInitialized returning null instead of firing an__get call.

Possible Solution
Check if__get method exists before blindly returning null, as per rfc "reads from uninitialized properties will generate a TypeError unless __get() is defined".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp