Skip to content

Cannot set config for admin/url/use_custom using Magento CLI #23232

@tylers-username

Description

@tylers-username

Preconditions (*)

  1. Magento 2.2.4
  2. OS: Debian (Docker PHP)

Steps to reproduce (*)

1.Set the custom admin URL: bin/magento config:set admin/url/custom "https://admin.example.com/"
2. Enable the new custom URL path: bin/magento config:set admin/url/use_custom 1

Expected result (*)

  1. Given that an admin URL has been defined, I expected the admin/url/use_custom to pass validation and to be added to core_config_data table with a value of 1.

Actual result (*)

  1. The Magento Cli throws the exception message:

    Please specify the admin custom URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: ConfigIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for development

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions