Skip to content

Magento\Authorization\Model\ResourceModel\Rules missing update method #29128

Closed
@adeptofvoltron

Description

@adeptofvoltron

Basically in Rules Model is used "update" method from the resouceModel. However it was never declared in Rules Resource Model

Preconditions (*)

I discovered in on magento 2.3. But is still appear in Magento 2.4
Magento 2.4-develop

Steps to reproduce (*)

just use anywhere "update" method from Rules Model

Expected result (*)

Not having a fatal error would be nice

Actual result (*)

PHP Fatal error: Uncaught Error: Call to undefined method Magento\Authorization\Model\ResourceModel\Rules::update() in /var/www/magento/vendor/magento/module-authorization/Model/Rules.php:61


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

Assignees

Labels

Issue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.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: S1Affects critical data or functionality and forces users to employ a workaround.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions