Skip to content

Error with fileLock path #38792

Open
@rogerdz

Description

@rogerdz

Preconditions and environment

  • Magento version 2.4-develop
  • Anything else that would help a developer reproduce the bug

Steps to reproduce

  1. Config lock provider = file: bin/magento setup:config:set --lock-provider=file --lock-file-path=var/locks
  2. Run command: rm -rf var/locks && rm -rf pub/var/locks
  3. Run command: bin/magento cache:clean
  4. Login admin

Expected result

should only create 1 locks folder: magento_dir/var/locks

Actual result

create 2 separate folder locks: magento_dir/var/locks and magento_dir/pub/var/locks

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

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions