Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
color.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Nov 2021 at 04:33 UTC
Updated:
2 Sep 2022 at 14:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
mcdruid commentedThanks for catching this.
I'd like to add a test along with the fix - here's a first pass.
Might be good to add a couple more sets of test values.
We expect the test_only patch to fail, but if we add the tests to the MR they should pass.
Comment #4
mcdruid commentedNR for tests.
Comment #6
mcdruid commentedAdded some more test values, and have added the test to the MR.
Back to NR, but we expect this test-only patch to fail, whereas the MR should not.
Comment #8
longwaveThe test looks good and proves the fix works.
Hiding the test-only patch in an attempt to convince the bot that the MR is thing that is RTBC.
Comment #10
mcdruid commentedThank you!
Comment #11
demeritcowboy commentedThanks! Should I close the original merge request?
Comment #14
mpp commentedThis fix removed the int conversion from https://www.drupal.org/i/3248752 which was a php 8.1 fix.
Re-added it in https://www.drupal.org/project/drupal/issues/3224299.
Comment #15
poker10 commented@mpp I have commented that in the META issue, please check here: #3224299-65: [META] Make Drupal 7 core compatible with PHP 8.1