Skip to content

Bug or feature? Field property created only with EQUALS returns false for has_key #3899

@blattms

Description

@blattms

If we use EQUALS to populate a field property without initializing it as a normal keyword before. FieldPropsManager::has_key will return false for it (because there is no entry in the list of keys).
This might be a feature because because FieldProperty::try_get explicitly caters for the case where the key is missing in the list.

Does anybody know why?

I still have the feeling that has_key should return true even in this case...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions