Skip to content

Magento_Authorization model Rules/Role calling a resource model function update, that is not exist in resource model(Rules/Role)  #30756

Closed
@narendrarwt

Description

@narendrarwt

Preconditions (*)

Magento 2.4-develop

Steps to reproduce (*)

Call Magento\Authorization\Model\Rules::update or Magento\Authorization\Model\Role::updatemethod

Magento\Authorization\Model\Role
Magento\Authorization\Model\Rules

Actual result (*)

Fatal error. Update method is not defined.

Expected result (*)

The update method for both Role and Rules should be marked as deprecated with see reference to save method.

@deprecated
@see \Magento\Authorization\Model\Rules::save

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • 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

Labels

Fixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions