Skip to content

[Issue] System configuration Validation #29502

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #29486: System configuration Validation


Description (*)

This field should be save empty, but incorrect validation was applied. Because of that, admin user couldn't save the empty value.

Preconditions:

  1. Base Magento 2.4-develop installed.

Steps to reproduce:

  1. Log in in the admin area.
  2. Go to Stores -> Configurations -> Services -> OAuth -> Access Token Expiration.
  3. Empty 'Customer Token Lifetime (hours)' field and save config.
  4. Empty 'Admin Token Lifetime (hours)' field and save config.

Expected result:

Config saved successfully.

Actual result:

Config is not saved. Incorrect validation applied.

image

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)
  • All new or changed code is covered with unit/integration tests (if applicable)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: IntegrationFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions