bug PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar brbrbr
brbrbr
3 Jul 2024

Let's retry PR #43688

Pull Request for Issue #43683 .

Summary of Changes

Added missing message type mapping from enqueued message to SymfonyStyle

Testing Instructions

Execute a CLI command calling a script with enqueueMessage with type success.

Or code review.

Actual result BEFORE applying this Pull Request

success message are displayed as SymfonyStyle comment

Expected result AFTER applying this Pull Request

success message are displayed as SymfonyStyle success

avatar brbrbr brbrbr - open - 3 Jul 2024
avatar brbrbr brbrbr - change - 3 Jul 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jul 2024
Category Layout Libraries
avatar brbrbr brbrbr - change - 4 Jul 2024
Labels Added: PR-5.2-dev
avatar degobbis degobbis - test_item - 24 Aug 2024 - Tested successfully
avatar degobbis
degobbis - comment - 24 Aug 2024

I have tested this item ✅ successfully on 9975b35


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43739.

avatar HLeithner
HLeithner - comment - 2 Sep 2024

Not sure why you change the order of the properties, the reason is the verbosity and is the same as PSR-3

Also changing code style / ordering makes it really hard to review it because the only relevant change is adding 2 lines in ConsoleApplication.php, I'm not sure about the new constant added to the application. It might be used in joomla, but makes it hard to map on psr-3 and other logging systems, so sticking to the existing constants might make sense.

Just update the console application should be enough from my pov

avatar brbrbr
brbrbr - comment - 2 Sep 2024

I changed the order in message.php/CMSApplicationInterface.php to be consistent with ConsoleApplication.php. Alphabetically as in message.php seemed right. I wasn't aware of the PSR-3 order as it is not described in any of the files

Shouldn't the order in libraries/src/Application/ConsoleApplication.php be according to PSR-3 as well?

avatar brbrbr brbrbr - change - 2 Sep 2024
Labels Added: bug
avatar joomla-cms-bot joomla-cms-bot - change - 2 Sep 2024
Category Layout Libraries Libraries
avatar HLeithner HLeithner - change - 2 Sep 2024
Title
success / message type not mapped to SymfonyStyle in ConsoleApplication
[5.2] success / message type not mapped to SymfonyStyle in ConsoleApplication
avatar HLeithner HLeithner - edited - 2 Sep 2024

Add a Comment

Login with GitHub to post a comment