Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
8 Mar 2020

Pull Request for Issue # .

Summary of Changes

cast to int to fix strict comparison

Testing Instructions

create/edit an article
click on CMS Content and select
select a module to embed in the article
save the article

Expected result

the module output is showed in the article

Actual result

no module output

avatar alikon alikon - open - 8 Mar 2020
avatar alikon alikon - change - 8 Mar 2020
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Mar 2020
Category ⇒ Libraries
avatar alikon alikon - change - 8 Mar 2020
The description was changed
avatar alikon alikon - edited - 8 Mar 2020
avatar infograf768
infograf768 - comment - 8 Mar 2020

Please test first
#28259

avatar SharkyKZ
SharkyKZ - comment - 8 Mar 2020

There's already PR for staging #26531. But it's also wrong.

avatar alikon
alikon - comment - 8 Mar 2020

why this is wrong ?

avatar SharkyKZ
SharkyKZ - comment - 8 Mar 2020

Read the comments in #26531.

avatar alikon
alikon - comment - 8 Mar 2020

umm i was testing with postgresql....i'll look with mysql .....

avatar alikon
alikon - comment - 8 Mar 2020

work with mysql as well

avatar chmst
chmst - comment - 8 Mar 2020

I have tested this item ✅ successfully on b12efc0

on code inspect


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

avatar chmst chmst - test_item - 8 Mar 2020 - Tested successfully
avatar jwaisner
jwaisner - comment - 8 Mar 2020

I have tested this item ✅ successfully on b12efc0

Tested with adding CMS content to article. Content displays correctly after PR is applied.


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

avatar jwaisner jwaisner - test_item - 8 Mar 2020 - Tested successfully
avatar jwaisner jwaisner - change - 8 Mar 2020
Status Pending ⇒ Ready to Commit
avatar jwaisner
jwaisner - comment - 8 Mar 2020

RTC


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

avatar SharkyKZ
SharkyKZ - comment - 8 Mar 2020

No RTC. This breaks PDO.

avatar jwaisner jwaisner - change - 8 Mar 2020
Status Ready to Commit ⇒ Pending
avatar jwaisner
jwaisner - comment - 8 Mar 2020

Set back to Pending.


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

avatar alikon
alikon - comment - 9 Mar 2020

@SharkyKZ may i ask you to test on PDO please ?
i've tested with all the 3 flavour of db's supported on j4 and it works as expected with this pr on all the 3

avatar SharkyKZ
SharkyKZ - comment - 9 Mar 2020

PDO returns strings for numeric columns when using pdo_mysql.

avatar SharkyKZ
SharkyKZ - comment - 9 Mar 2020

This seems to be because the driver is using PDO::ATTR_EMULATE_PREPARES.

avatar alikon
alikon - comment - 15 Apr 2020

closing as this will be probably fixed when #28278 will land in 4 branch

avatar alikon alikon - change - 15 Apr 2020
Status Pending ⇒ Closed
Closed_Date 0000-00-00 00:00:00 ⇒ 2020-04-15 06:52:45
Closed_By ⇒ alikon
avatar alikon alikon - close - 15 Apr 2020

Add a Comment

Login with GitHub to post a comment