Skip to content

[Issue] replaced deprecated addWarning method with addWarningMessage method … #28308

Closed
@ghost

Description

This issue is automatically created based on existing pull request: #28264: replaced deprecated addWarning method with addWarningMessage method …


…in Security module

Replace deprecated addWarning method with addWarningMessage method in Magento core security module

Preconditions (*)

  addWarning method is deprecated, to replace the addWarning method with addWarningMessage method in Magento core security module

Steps to reproduce (*)

  1. Logged in to your magento admin panel , go to Store -> Configuration -> Advanced -> Admin -> Security -> Admin Account Sharing -> NO
  2. Logged in to your magento admin panel in a different browsers, in the current browser admin session will be created with the warning message.

Actual Result

N/a

Expected Result

The warning message is shown as previously (expected)

screenshot_60

Contribution checklist (*)

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

Metadata

Metadata

Labels

Component: BackendComponent: MessageComponent: SecurityFixed 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: P3May be fixed according to the position in the backlog.Reproduced 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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions