? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
9 Jun 2022

Pull Request for Issue # .

Summary of Changes

As pointed out in my comment #38011 (comment), $this->app->getIdentity() will always return a User object, so the check here could be removed.

Testing Instructions

  1. Use Joomla 4.2 nightly build
  2. Apply patch
  3. Access to Articles Management screen from backend, make sure nothing is broken.

Actual result BEFORE applying this Pull Request

Works but there is unnecessary code.

Expected result AFTER applying this Pull Request

Works

avatar joomdonation joomdonation - open - 9 Jun 2022
avatar joomdonation joomdonation - change - 9 Jun 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Jun 2022
Category Libraries
avatar richard67
richard67 - comment - 9 Jun 2022

@joomdonation The installation at the beginning of the api tests in drone fails. I’ r restarted drone 3 times now but always the same result. Are you sure the removed code was useless? Have you tested to make a new installation with your changes?

avatar joomdonation
joomdonation - comment - 10 Jun 2022

@richard67 Sorry, I did not check installation. The installation app does not initialize the identity object like our other apps, so the change in this PR is causing an error.

avatar joomdonation joomdonation - change - 10 Jun 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-06-10 00:58:17
Closed_By joomdonation
Labels Added: ?
avatar joomdonation joomdonation - close - 10 Jun 2022

Add a Comment

Login with GitHub to post a comment