joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

Unable to store null value on update row #39363

Open Kaushik1216 opened this issue 2 years ago • 3 comments

Pull Request for Issue #39363

Summary of Changes Replace isset() with array_key_exists() which also returns true when property has null as value.

Testing Instruction Same as mention on issue https://github.com/joomla/joomla-cms/issues/39363

Result before appling this PR On update column that have updated value null not change in database

Expected result after this PR Column that have updated value null will also change in database

Link to documentations

No documentation changes for docs.joomla.org needed No documentation changes for manual.joomla.org needed

Kaushik1216 avatar Jan 11 '23 15:01 Kaushik1216

This pull request has been automatically rebased to 4.3-dev.

HLeithner avatar May 02 '23 16:05 HLeithner

This pull request has been automatically rebased to 4.4-dev.

HLeithner avatar Sep 30 '23 22:09 HLeithner

I have tested this item :white_check_mark: successfully on 0db676be417079589e6f7001b09b679267129eb7

Code looks good and works, but the original issue was not replicable on a joomla database table


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

chmst avatar Feb 24 '24 14:02 chmst