Closed (outdated)
Project:
Drupal core
Version:
11.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2015 at 23:21 UTC
Updated:
6 Jun 2024 at 05:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
nevergoneComment #3
nevergonePlease needs review.
Comment #5
chx commentedDon't we have a test for fieldSettingsForm? If we do, it needs amending, if we don't we need one. Also the ! was just changed to @ and noone caught this. Very nice.
Comment #6
chx commentedComment #8
aerozeppelin commentedTest to check valid values are entered in 'Maximum upload size' text field.
Comment #11
nevergone#8 is tested and works well!
The patch is re-rolled, but not modified.
Comment #12
nevergoneComment #13
alexpottI think we should test setting to 0 which should be allowed. As I think it'll mean unlimited... this is a bit weird because
0 MBis not allowed... perhaps needs more thinking and tests.Should have a scope modifier - ie.
public- yes the rest of the class is missing them - but we shouldn't introduce new issues.No need for the
$field =- the$fieldvariable is not used.Needs a space after the
foreachand before the{Comment #14
aerozeppelin commentedUpdates from #13.
Comment #22
quietone commentedLets get an Issue Summary update before any thing else is done here. See write an issue summary for an existing issue.
Comment #27
smustgrave commentedBased on the request for an IS update in #22
Comment #29
smustgrave commentedSince there hasn't been a follow up to #22 in 2 years going to close this out for now.
If still a valid bug though please reopen, updating the issue summary.
Thanks.
Comment #30
quietone commented@smustgrave, I think some research on the issue should be done before closing it. There are patches here which we can use to determine if this is fixed
This time I looked at the code in the patch. It was originally changing ['title'] to ['#title'] in the field instance settings. That change now exists in FileItem.php. The later patches contain other changes out of scope with the issue summary, as pointed out in #8. The new test is testing the max filesize and that is now done in FieldFieldValidateTest.php. Based on that I agree this can be closed as outdated.