Skip to content

Customer attributes default value #39605

Open
@sheepfy

Description

@sheepfy

Preconditions and environment

  • Magento version latest
  • Have an existing customer

Image

Image

Steps to reproduce

Create random customer attribute for customer edit page.
Login, go to check the attribute into the edit page
Notice that the default value is not there.

Expected result

The default value to be autofilled in the form (or at least loaded on the Magento\Customer\Model\Customer object at vendor/magento/module-custom-attribute-management/Block/Form/Renderer/AbstractRenderer.php :: getValue method)

Actual result

Null value comes instead of the default value

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Adobe CommerceThe issue related to the Adobe Commerce(EE) or B2B functionalityArea: AccountComponent: CustomerAttributesIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions