RTC bug RMDQ Small PR-5.1-dev Pending

User tests: Successful: Unsuccessful:

avatar chmst
chmst
26 Aug 2023

Pull Request for Issue #37352 .

Summary of Changes

Change the filter for brand to "options".

Testing Instructions

see #37352.

Actual result BEFORE applying this Pull Request

{"brand":"true", in database after updating a template copy

Expected result AFTER applying this Pull Request

{"brand":"1"," after updating a template copy

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 26 Aug 2023
Category Front End Templates (site)
avatar chmst chmst - open - 26 Aug 2023
avatar chmst chmst - change - 26 Aug 2023
Status New Pending
avatar chmst chmst - change - 26 Aug 2023
The description was changed
avatar chmst chmst - edited - 26 Aug 2023
avatar ceford ceford - test_item - 12 Sep 2023 - Tested successfully
avatar ceford
ceford - comment - 12 Sep 2023

I have tested this item ✅ successfully on 8f84067


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

avatar HLeithner HLeithner - change - 5 Oct 2023
Title
Template-param-brand
[5.0] Template-param-brand
avatar HLeithner HLeithner - edited - 5 Oct 2023
avatar HLeithner
HLeithner - comment - 7 Oct 2023

I would like to clarify first what is "true" and what is "false", in joomla we have a bunch of diffrent implementation what means "false" as string false as boolean and "0" as string and int and yes or no at least it's not always handled the same.

In this case saving a bool as 0 and 1 seems to be the right thing, problem could be using it in a different like
in this example https://3v4l.org/PSoL5

So we should check the complete codebase for inconsistency and find a solution normalize this. Pretty sure someone did this already and the PR has not been merged or has been closed or is still open don't know.

I bring this topic up in the next maintainer meeting.

For now I target this pr for 5.0.1

avatar Fedik
Fedik - comment - 7 Oct 2023

I would suggets to stick with 1/0, for XML, and use filter="INT"
This is more safe. When the data is loaded from database again to the field, the field may not understand what is true/false, because it expect 1/0

avatar dautrich dautrich - test_item - 31 Oct 2023 - Tested successfully
avatar dautrich
dautrich - comment - 31 Oct 2023

I have tested this item ✅ successfully on 8f84067


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

avatar richard67 richard67 - change - 18 Nov 2023
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 18 Nov 2023

RTC


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

avatar bembelimen bembelimen - change - 13 Mar 2024
Labels Added: RTC bug RMDQ PR-5.0-dev Small
avatar HLeithner HLeithner - change - 24 Apr 2024
Title
[5.0] Template-param-brand
[5.1] Template-param-brand
avatar HLeithner HLeithner - edited - 24 Apr 2024
avatar LadySolveig LadySolveig - change - 11 May 2024
Labels Added: PR-5.1-dev
Removed: PR-5.0-dev
avatar bembelimen bembelimen - change - 11 May 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-05-11 20:29:01
Closed_By bembelimen
avatar bembelimen bembelimen - close - 11 May 2024
avatar bembelimen bembelimen - merge - 11 May 2024
avatar bembelimen
bembelimen - comment - 11 May 2024

Thanks

Add a Comment

Login with GitHub to post a comment