Problem/Motivation
Before a user uploads an image, if there is a maximum dimension set, the help text reads, for example:
"Images must be smaller than 100x100 pixels." This confuses the user since the image can be automatically resized to accommodate these limits. We therefore replace it with, "Images larger than 100x100 pixels will be resized."
Before the patch
Proposed resolution
Alter the text to be more accurate.
Also, see issues #16 through #33 suggesting that checking for the presence of an image toolkit should not be necessary, as a D8 installation without a toolkit is an edge case, and therefore a condition that is practically impossible to trigger.
After the patch in #31
Remaining tasks
Backport it to D7. Note that D7 version should have consideration for !ImageToolkit::isAvailable() (or functional D7 equivalent)
Task | Novice task? | Contributor instructions | Complete? | |
---|---|---|---|---|
Create a patch | Instructions | Yes | ||
Embed before and after screenshots in the issue summary | Novice | Instructions | Yes | |
Backport the Changes to an Earlier Version of Drupal Core | Novice | Instructions |
User interface changes
Changes user interface text to read: "Images larger than !max pixels will be resized".
Similar changes to the case where both a minimum and maximum resolution are specified.
The message about *minimum* dimensions (only) is not changed.
API changes
String is used in file file.field.inc line 931.
if/else block says:
- if there's a toolkit, resize the image
- else, just reject it for being too large.
Related Issues
See #847098: Revise image field min/max settings help text form for clarity.
Original report by fietserwin
Should read something like "Images larger than !max pixels will be resized". For the exact choice of text perhaps have a look at #311159: Inaccurate/misleading user text. String is used in file file.field.inc line 931.
Comments
Comment #1
fietserwinHmmm, string 'Images must be between !min and !max pixels.' (line 925, same file) has the same issue of being misleading.
Comment #2
dddave CreditAttribution: dddave commentedDue to the string change I suspect this has to be done in D8.
Comment #3
ryan.gibson CreditAttribution: ryan.gibson commentedSo, I agree that the current text is misleading. Although, I also understand that resizing images on upload will cause the loss of EXIF data in the image; we don't want users to be confused or misled.
If an image field has a 100px by 100px max resolution. The text should not be "Images must be smaller than 100x100 pixels." I think "Images must not be larger than 100x100 pixels." sounds better and is more accurate.
The patch changes it to this:
"Images must not be smaller than !min pixels."
and
Images must not be larger than !max pixels.
Those are my thoughts anyway.
Comment #5
ryan.gibson CreditAttribution: ryan.gibson commentedOops, this patch should work.
Comment #6
ryan.gibson CreditAttribution: ryan.gibson commentedAnd the actual patch would be helpful...
Comment #7
ar-jan CreditAttribution: ar-jan commentedBut the original issue was that you can upload images larger than e.g. 100x100 - they'll be resized, so the user doesn't need to do this before uploading. So this is still misleading.
Comment #8
ryan.gibson CreditAttribution: ryan.gibson commentedWell, resizing the image during upload causes loss of EXIF data, using image styles in the content display is the best way to handle resizing images. We could include that warning on the upload text as well, but I think it would be better to include in the help instructions optionally.
Comment #9
ryan.gibson CreditAttribution: ryan.gibson commentedI actually agree, the OP's text is more accurate. Changed that in the patch.
Comment #10
ryan.gibson CreditAttribution: ryan.gibson commentedUnassigning myself - I thought there might be more people who were also confused by this text.
Comment #11
ryan.gibson CreditAttribution: ryan.gibson commentedtagging novice for review.
Comment #12
HappyJiyoung CreditAttribution: HappyJiyoung commentedI tried to see if your patch worked but it doesn't show your latest description. I think your description was good to go!
Or me and other two mentors guessed where this description should appear. We guessed on image resize when we create article content or something. Is this right area to check your patch?
Comment #13
fietserwinIf the loss of EXIF data is an unwanted side effect, then this might be put in the warning as well? Something like: Images larger than !max pixels will be resized, thereby possibly loosing its EXIF data. Or is this over the top for most usages?
Note 1: I normally prefer to have EXIF data removed to decrease image file size. So I guess "normally" this is desired behavior.
Note 2: I used "possibly" in the text as there are image formats that don't have EXIF data to start with or there may be image toolkiits that keep the EXIF data.
Comment #14
Devin Carlson CreditAttribution: Devin Carlson commentedMarked #1760336: help text on image fields "Images must be smaller than !max pixels" is misleading as a duplicate.
Comment #15
joachim CreditAttribution: joachim commentedThe above disagrees with what my D7 image field says:
> The minimum allowed image size expressed as WIDTHxHEIGHT (e.g. 640x480). Leave blank for no restriction. If a smaller image is uploaded, it will be rejected.
and also D8:
> 114: '#description' => t('The minimum allowed image size expressed as WIDTHxHEIGHT (e.g. 640x480). Leave blank for no restriction. If a smaller image is uploaded, it will be rejected.'),
As for the matter of EXIF data, that's out of the scope of this issue. It's also ripe opportunity for bikeshedding, as I for one reckon that it's overkill and will potentially scare and confuse users who don't know what EXIF is, but just see they are being told that BAD THINGS MIGHT HAPPEN. So let's leave that out of this patch.
Comment #16
joachim CreditAttribution: joachim commentedFurthermore, we still need to logic seen in #311159: Inaccurate/misleading user text, as http://api.drupal.org/api/drupal/core!modules!file!file.module/function/... demonstrates there are two pathways for an image that is too large:
Comment #17
joachim CreditAttribution: joachim commentedHere's a new patch, using image_get_toolkit() to determine whether or not to show the message.
Compare with http://api.drupal.org/api/drupal/core!modules!file!file.module/function/..., which only scales if a toolkit is present, and just rejects images that are too small rather than upscale them.
Rather than add a condition in every min/max combination, I've added the message about scaling on its own line, which seems like the simplest thing.
That should also mean we can backport it to D7, since it adds a string rather than changes existing ones.
Comment #19
joachim CreditAttribution: joachim commentedReally not sure how an extra UI text can cause a failing test in Locale module...
Comment #20
fietserwinMe neither, so let's try again
Comment #21
fietserwin#17: 1079116.17.drupal.more_accurate_image_upload_text.patch queued for re-testing.
Comment #23
fietserwin#16: Looking at the actual code (file_validate_image_resolution in file core\modules\file\file.module), I can't see the logic described.
- If there is no toolkit (checked via image_get_info), the validator will let the file pass through without issuing an error nor warning.
- If (one of the ) the dimensions are(/is) too large, the file will be loaded and scaled.
- If the file won't load, an error 'The image is too large; the maximum dimensions are %dimensions pixels.' will be issued.
- Otherwise the warning 'The image was resized to fit within the maximum allowed dimensions of %dimensions pixels.' will be issued.
#17: I don't like that we first say to the user that images may be max ... pixels and, on the next line, say that larger images will be resized: that will confuse users. So we should just replace that message as we can safely ignore the case in which there is no active image toolkit (is this even possible without getting loads of warnings and other error messages on image fields?).
#15: images are (currently in both D8 and D7) not upscaled if they fall below the minimum dimensions, So you observation is right and that message (about minimum dimensions) should not be changed
#15: I agree with your remark about EXIF data: leave it out.
I still don't get the test failure, but it is back to needs work anyway now.
Comment #24
joachim CreditAttribution: joachim commented> - If there is no toolkit (checked via image_get_info), the validator will let the file pass through without issuing an error nor warning.
I think you've misread the code:
This if/else block says:
- if there's a toolkit, resize the image
- else, just reject it for being too large.
Comment #25
fietserwinNope, the image_get_info already checks for the toolkit:
Comment #26
joachim CreditAttribution: joachim commentedOh, you're right.
In which case, what circumstances lead to this failing and the else{} being triggered?
Comment #27
fietserwin#26: Good question. Seems hardly possilbe. GD can read image dimensions but fails on opening it and placing it in a resource. This can typically be caused by an out of memory error, but that fails with a fatal in PHP and does not return control back to the PHP code. So that message can be kind of ignored I guessed.
Comment #28
RobW CreditAttribution: RobW commentedReferencing #847098: Revise image field min/max settings help text form for clarity, especially my comment in #10. Should that thread be marked as a duplicate and the ideas brought over here?
Comment #29
joachim CreditAttribution: joachim commentedThat issue is about the admin UI, this is about the entity edit form.
While I definitely think both issues should work in tandem, bigger patches are harder to review and work on and get committed, and in this case the patches are already fairly complex. Hence I suggest they remain separate.
Comment #30
RobW CreditAttribution: RobW commentedSounds good.
Comment #30.0
techmsi CreditAttribution: techmsi commentedSummarized issue
Comment #30.1
fietserwinChanged link into "issue link"
Comment #31
fearlsgroove CreditAttribution: fearlsgroove commentedUpdated UI message to match text provided in issue summary
Comment #32
webchickfearlsgroove and I talked about this patch.
hook_image_requirements() does still have a conditional that allows you to have an image toolkit or not, so it is at least theoretically possible to have D8 without an image toolkit. However, he and I tried several times without success to obliterate Drupal's knowledge of an active image toolkit and each time the image was nevertheless resized when uploading.
So while I was originally suggesting a conditional ("If there's a toolkit, talk about image resizing, else do nothing") we couldn't actually trigger the condition, so I think unconditionally changing it is probably fine. OTOH, fearlsgroove is now determined to figure out how to trigger a null, so... stay tuned! ;)
Comment #33
mondrake@webchick, @fearlsgroove re #32, the GD Toolkit is part of the system module, so IMHO practically it is not possible to have D8 currently without at least an active toolkit.
More info in #2110835: Move the GD toolkit on its own module, and #2122605: Remove isAvailable() from ImageToolkitInterface - they may be worth a review :)
Comment #34
BiigNiick CreditAttribution: BiigNiick commentedthe patch seems to work on my end as it is, but webchick pointed out other issues...
Before
After
Comment #35
BiigNiick CreditAttribution: BiigNiick commentedComment #36
fearlsgroove CreditAttribution: fearlsgroove commentedI've been able to verify the same .. Drupal crashes spectacularly when there is no toolkit available when trying to resize an image that meets the conditions described here. I've created a follow up to update hook_requirements.
Comment #37
brents CreditAttribution: brents commentedI am working on a review.
Comment #38
fearlsgroove CreditAttribution: fearlsgroove commentedThanks @manarth, updated patch handles the case when there is a min and a max resolution.
Comment #40
BMDan CreditAttribution: BMDan commentedComment #41
fearlsgroove CreditAttribution: fearlsgroove commentedFix failing test. Also missing a "pixels" for consistency.
Comment #42
fearlsgroove CreditAttribution: fearlsgroove commentedLast patch missing the "pixels." somehow.
Comment #44
droppinshucks CreditAttribution: droppinshucks commentedI just applied the patch https://drupal.org/files/issues/1079116.42.drupal.more_accurate_image_up... and it is working in the UI (and appears to pass testing).
Comment #45
katherinedEmbedded screenshots, and corrected and clarified description of problem and proposed solution.
Comment #46
katherinedAdded reference to the discussion of a potential absence of an image toolkit, and the conclusion that it is a non-issue.
Comment #47
manarth CreditAttribution: manarth commentedRTBC.
I've reviewed the patch in comment 42 - it's a minimal change and the testcase has also been updated.
I've also verified that the patch applies, and the new text appears in the UI, matching the screenshots.
Following up comments 32/33, the GD extension is a required extension (enforced in
system_requirements
) so we can rely on having at least one image-manipulation extension available. I'll follow that up in #2281471.Comment #48
webchickCommitted and pushed to 8.x. Great work everyone! :D
Comment #49
BMDan CreditAttribution: BMDan commentedComment #50
fietserwinShould this be backported? We are talking UI text changes only.
Comment #51
BMDan CreditAttribution: BMDan commentedCertainly not strictly needed, no. But then again, isn't that why we have "Minor" as an available priority? This is not high-effort, but it's fairly high-reward in terms of UX.
Comment #52
Matt V. CreditAttribution: Matt V. commentedHere's a quick backport.
Comment #53
fietserwinComment #55
Matt V. CreditAttribution: Matt V. commented52: 1079116.52.drupal.more_accurate_image_upload_text.patch queued for re-testing.
Comment #56
Matt V. CreditAttribution: Matt V. commentedIt appears the test failure was a false alarm, so I'm switching the status back to RTBC.
Comment #58
Matt V. CreditAttribution: Matt V. commented52: 1079116.52.drupal.more_accurate_image_upload_text.patch queued for re-testing.
Comment #59
Matt V. CreditAttribution: Matt V. commentedThe test failures seem to keep happening intermittently with fatal error in different places during the retests, but the same tests pass fine on simplytest.me and when I manually queue the patch for retesting here.
Is the automated testing running into some sort of resource constraint or something?
Comment #61
mgiffordComment #63
dcam CreditAttribution: dcam commentedThe patch still applies, so it doesn't need a reroll. It's just experiencing the random test failures that have been plaguing us lately.
Comment #64
Matt V. CreditAttribution: Matt V. commentedUnfortunately, when the random failures happen, they also change the status from RTBC to Needs Review. I'm setting it back, based on fietserwin's review in comment #53. All the test failures since then appear to have been the random failures that dcam described.
Comment #65
mgiffordSorry about adding the "Needs reroll " tag. I swear it failed when I tried to apply it on SimplyTest.me earlier in the day..
Thanks for marking it RTBC again @Matt V.
Comment #68
dcam CreditAttribution: dcam commentedComment #71
dcam CreditAttribution: dcam commentedComment #74
dcam CreditAttribution: dcam commentedComment #79
dcam CreditAttribution: dcam commentedComment #82
dcam CreditAttribution: dcam commentedComment #85
dcam CreditAttribution: dcam commentedComment #86
webservant316 CreditAttribution: webservant316 commented#52 works for me. Thanks. Hope this patch can be pushed to D7 so I don't have to maintain it locally :-)
Comment #91
Matt V. CreditAttribution: Matt V. commentedAs noted above, the intermittent test failures are false positives. I'm updated the status to set it back to RTBC.
Comment #92
David_Rothstein CreditAttribution: David_Rothstein commentedThe code in file_validate_image_resolution() considers the possibility that an image cannot be resized and I believe it's possible for that to occur... although I suppose it's enough of an edge case that the help text shouldn't cater to it.
However, to the extent that these are user-facing strings, we don't want to change them except to fix a major/critical problem (https://www.drupal.org/node/1527558). In reality, this one is somewhere between a user-facing and admin-facing string...
The text visible at the top of the patch file ("Images must be exactly !size pixels") probably needs to be changed too?
Would it be too radical of a suggestion to just remove the strings entirely, rather than breaking translations? In other words, what if we just said "Images must be larger than !min pixels" and ignored the max pixels setting in the default help text entirely? Will the average user even care beforehand that their image is going to be resized? (They will still see the message after they upload saying that it was successfully resized.)
Comment #93
BMDan CreditAttribution: BMDan commentedKilling the "novice" tag.
@David, agreed, this might be one of those "perfect is the enemy of the good" situations. I think if we can get something backported, given how terribad the UX is now, that's better than the status quo. Even if the "something", in this case, is to remove some of the messages.
To put it another way: sure, fine, whatever. Can we please just do something, though!?
I'd argue that D7 isn't exactly backwater and that it deserves a full fix, but I'd be happy with anything that improves this silly situation at this point. Doing a partial fix and then iterating on it in a separate issue (if necessary) is as good an approach as any other, really.
Comment #94
mgifford@brents happy for a review still, things have changed a bit.
@David_Rothstein remove the strings entirely would probably satisfy the 80% goal. I'm fine with that approach.
Comment #95
webservant316 CreditAttribution: webservant316 commentedI just upgraded to Drupal 7.36 and had to re-apply this patch.
Any chance of getting this patch applied to core?
Comment #96
webservant316 CreditAttribution: webservant316 commentedMe again...
I just upgraded to Drupal 7.37 and had to re-apply patch #52.
Any chance of getting this patch applied to core?
Comment #97
mgiffordThere's nothing to RTBC yet @webservant316
@David raised a critical point with translation strings in #92.
I don't think this really does the trick, as I don't know how to get rid of
'Images larger than !max pixels will be resized.'
I'm also not certain that by just "ignored the max pixels setting" that it would make it that much easier for translation.
That said I wrapped up this new patch as it would be really sweet to get this in.
Comment #98
webservant316 CreditAttribution: webservant316 commented!max removed from the substitution array to clean up the patch.
yes, sweet to get this in!
Comment #99
mgiffordYa, no need for
, '!max' => '<strong>' . $max . '</strong>'));
I should have caught that.Comment #100
Gribnif CreditAttribution: Gribnif commentedOne thing that everyone seems to have missed in this entire discussion is that there is still a semantic error in the text of one of these help strings, and the proposed patch is duplicating it.
The string currently reads, "Images must be larger than !min pixels," which is not consistent with the way validation occurs. It should read, "Images must be at least !min pixels."
Comment #101
cilefen CreditAttribution: cilefen commentedI am tagging this "Novice" because a novice can read this issue and make progress on it.
Comment #102
snehi CreditAttribution: snehi as a volunteer and at Publicis Sapient for Publicis Sapient commentedComment #103
snehi CreditAttribution: snehi as a volunteer and at Publicis Sapient for Publicis Sapient commentedAddressed #100.
Please review.
Comment #106
snehi CreditAttribution: snehi as a volunteer and at Publicis Sapient for Publicis Sapient commentedComment #109
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedI committed part of this at #2563403: Description text for image dimension settings unclear but then rolled it back because based on discussion here it was incomplete.
Would be great to get this moving again and fixed... if we really have to break translations we can, but I'd still like to find a way to do it without that if possible.
We probably need a followup issue to change "Images must be exactly !size pixels" in Drupal 8 as well (assuming my comment in #92 was correct).
Comment #110
jenlamptonHere's a reroll that fixes the line recommended by @David Rothstein back in #92.
Comment #112
stefan.r CreditAttribution: stefan.r commentedreroll
Comment #115
jenlamptonPatch works great, still applies to 7.52
Comment #116
tstoecklerShouldn't this also have the "Images must be larger than !size pixels." sentence. As it is now the "min" part of the condition is kind of swept under the rug, no?
Comment #117
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedYes, you're right.
Also as I mentioned above that line needs to be changed in Drupal 8 too, so we need a separate issue for it anyway.
Comment #118
lomasr CreditAttribution: lomasr at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedAs per suggestion in #116 . Adding a patch . Please review.
Comment #119
lomasr CreditAttribution: lomasr at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedComment #121
MaskyS CreditAttribution: MaskyS at Google Code-In commentedComment #122
denutkarsh CreditAttribution: denutkarsh at Google Code-In commentedTested it on drupal 7.x and it looks good to me.
Comment #125
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedThe automated test failures above look real to me. Why did the latest patch remove the test changes that the earlier patch had?
Comment #126
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedThis wording also looks very repetitive to me. It should not be necessary to repeat "larger than !size pixels" twice.
And again, as discussed above, this part still needs to be fixed for Drupal 8 too. So in my opinion, let's just move it to a separate issue and take it out of the current patch. It can be discussed elsewhere rather than holding this issue up.
Comment #127
jenlamptonThis wording also looks very repetitive to me. It should not be necessary to repeat "larger than !size pixels" twice.
It's not repetitive, one is the minimum, the other is the maximum. It only looks repetitive since you are seeing !size instead of the two different sizes.
The attached patch is the change from #118 with the test change from #112 added. Marking as RTBC since it was before (hope that's okay?)
Comment #128
Gribnif CreditAttribution: Gribnif commentedAfter all this discussion, the wording of the messages for the minimum size in the most recent patch is still semantically incorrect and, therefore, confusing. If a minimum of "10x10" is set, this means the size must be >= 10x10, not > 10x10 as the current wording implies.
Occurrences of "larger than" should actually be "at least", i.e.:
Images must be at least !size pixels.
See the attached patch. Changing back to Needs Review.Comment #130
Gribnif CreditAttribution: Gribnif commentedRe-rolling patch.
Comment #131
himanshu-dixit CreditAttribution: himanshu-dixit as a volunteer commentedSetting to NR.
Comment #133
manishmittal9 CreditAttribution: manishmittal9 commentedTesting the patch in #130 in Drupal-7.x, failed to apply
Comment #134
manishmittal9 CreditAttribution: manishmittal9 commentedreroll
Comment #135
mahalingam_cs CreditAttribution: mahalingam_cs at TATA Consultancy Services commentedPatch from #134 applied successfully. Attached the screenshot before and after patch screen. The wording for the message looks good.
Comment #136
mahalingam_cs CreditAttribution: mahalingam_cs at TATA Consultancy Services commentedComment #137
jenlampton+1 on RTBC. Nice work everyone :)
Comment #138
stefan.r CreditAttribution: stefan.r commentedComment #139
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedThis (from the patch in #134) doesn't make sense. The second sentence completely contradicts the first.
The patch in #128 looks good to me though, so a direct reroll of that so it applies again might be OK.
***
Excellent point :) It is a separate bug than what was fixed here for Drupal 8 though. Normally we'd just backport the same bug that was fixed in Drupal 8 and that's it. However, I agree with fixing it all at once here for Drupal 7 so as not to break translations more times than necessary.
But we still need a Drupal 8 issue and a patch for Drupal 8 that makes the same fixes there.
***
No, in the case I'm talking about the size is repeated also. For example, with the patch from #118 the wording is like this:
And with the newer patch in #128, it's like this:
However, I guess what bothered me about that in the first place was less the repetition of the numbers themselves, but rather the repetition of the whole phrase - because it does not make sense for the first sentence to say "images must be X" and then for the second sentence to essentially say "if images are X, Y will happen" because it is a useless conditional given that X already has to be true. However, with the revised text in #128, that's no longer an issue, so I think I'm happy with the final wording :)
Comment #140
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedHere's a direct reroll of #128, without the changes that were introduced in #134.
This still needs a Drupal 8 issue/patch though.
Comment #141
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedNote: These two sentences are exactly the same in practice. So to save translators a bit of work, we could probably just remove the first one entirely and just use the second whenever
if ($min && $max)
is true.Comment #142
jenlamptonI'm happy with the wording in #128, and the patch in #140 is working for me. Trying one more revision to address the comment in #141.
Comment #144
jenlamptonLet's try that again.
Comment #145
Algarte CreditAttribution: Algarte at CI&T commentedTested patch #144 and the new message works fine for me. The wording seems good and understandable.
See images attached below with a before and after the patch:
Before :
After :
Comment #146
jenlamptonPatch still applies cleanly to 7.56.
Comment #147
jenlamptonPatch still applies cleanly to 7.57.
Comment #148
jenlamptonPatch still applies cleanly to 7.58
Comment #149
hi_ten_ja CreditAttribution: hi_ten_ja commentedComment #150
jenlamptonI'm not sure why there is another patch in #149. @hiten2112 can you please explain your changes?
Patch in #144 still applies cleanly to Drupal 7.59, and is RTBC.
Comment #151
joseph.olstadBumping to 7.61. This didn't make it into 7.60
Comment #152
jenlamptonLooks like it didn't make it into 7.61 either.
Patch in #144 still applies cleanly to Drupal 7.61, and is RTBC.
Comment #153
izmeez CreditAttribution: izmeez commentedI'm not entirely sure but looking at the patches in #144 and #149 the difference appears to be related to whether or not images less than the minimum are resized or only those that are larger than the max are resized.
Comment #154
joseph.olstadeasy win here
Comment #155
jenlamptonLooks like it didn't make it into 7.62 either.
Patch in #144 still applies cleanly to Drupal 7.63.
Comment #156
jenlamptonLooks like it didn't make it into 7.64 either.
Patch in #144 still applies cleanly to Drupal 7.64.
Comment #157
jenlamptonI reviewed he patch in #149, and in that patch the text 'will be resized' to the message about minimum dimension. That statement is not accurate (or grammatically correct). The patch in #144 is still our best option here.
Since this didn't make it into 7.65 either, resetting tag.
Patch in #144 still applies cleanly to Drupal 7.66.
Comment #158
izmeez CreditAttribution: izmeez commented@jenlampton Thanks for the update. The patch in #144 has been RTBC for 2 years, it would be nice to see it committed.
Comment #159
jenlamptonPatch in #144 still applies cleanly to Drupal 7.67.
Comment #160
Chris Matthews CreditAttribution: Chris Matthews as a volunteer and at City of Oaks Design commentedComment #161
joseph.olstadComment #162
joseph.olstadMaintain the RTBC
1) Has tests
2) To increase our confidence in the test results for the above issue, these two should go in first so we can re-queue php 7.3 and php 5.3 tests.
#3047844: [Regression] Tests fail on PHP 5.3
#3025335: session_id() cannot be changed after session is started
Comment #163
MustangGB CreditAttribution: MustangGB commentedComment #164
jenlamptonThanks for the update @joseph.olstad!
Patch in #144 still applies cleanly to Drupal 7.68 and 7.69.
Comment #165
MustangGB CreditAttribution: MustangGB commentedComment #167
jenlamptonPatch in #144 still applies cleanly to 7.70, 7.71, and 7.72.
Comment #168
izmeez CreditAttribution: izmeez commentedPatch in #144 is now 3 years old today. Will be nice to see it committed. Thanks.
Comment #169
jenlamptonPatch in #144 still applies cleanly to 7.73. Updating target to 7.74.
Comment #170
izmeez CreditAttribution: izmeez commentedYes, confirmed patch still applies and is RTBC and in 6 months we will hit the 10 year mark! Why are things like this so slow with Drupal?
Comment #171
jenlamptonPatch in #144 still applies to 7.74. Updating target.
Comment #172
jenlamptonPatch in #144 still applies to 7.75. Updating target.
Comment #173
izmeez CreditAttribution: izmeez commentedWas added to #3179845: [meta] Priorities for 2020-12-02 bugfix release of Drupal 7.76 / 7.77 on weekend to raise it's visibility, did not make the cut for next release this week but might in 3 months.
Comment #174
jenlamptonThanks for the update @izmeez! Patch in #144 still applies to 7.77. Updating target.
Comment #175
jenlamptonPatch in #144 still applies to 7.78. Updating target.
Comment #176
ressa CreditAttribution: ressa at Ardea commentedThanks for verifying that the patch still applies @jenlampton. This issue is included in #3192080: [meta] Priorities for 2021-04-07 release of Drupal 7, so tagging with "Drupal 7.xx target" probably isn't necessary any longer ... Remaining issues will be transferred to a new meta issue for the next planned D7 release.
From #3179845: [meta] Priorities for 2020-12-02 bugfix release of Drupal 7.76 / 7.77
Comment #177
mcdruid#144 LGTM
Comment #178
mcdruidDiscussed this with @Fabianx and the only concern is that it's a string change so translations will be affected.
Checked with gábor-hojtsy and there's nothing we can do about that other than mention it in a CR.
Added a tag for that, but this (specifically #144) is good to go apart from that.
Comment #179
joseph.olstadOnce this is committed, the updated strings translations can be updated but not before.
Comment #181
mcdruidCommitted to 7.x - thanks for your perseverance everyone!
I added a simple CR for string changes / translations.
Comment #183
izmeez CreditAttribution: izmeez commentedWhat about the string translations? Do these now need a new patch and a new issue?
Comment #184
joseph.olstad@izmeez , you can add the translations here: https://localize.drupal.org/translate