- Issue created by @catch
- π¬π§United Kingdom catch
Added an MR, no idea if it's this easy but it might be.
- Merge request !5982Remove machine name handling from ListStringItem since it breaks with existing data. β (Open) created by catch
- Status changed to Needs review
11 months ago 9:46am 30 December 2023 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Can we retain the code and just change the pattern on the #type machine name field?
- Status changed to Needs work
11 months ago 11:11am 30 December 2023 - π¬π§United Kingdom catch
That's a better idea, but what to? Spaces is the example given in the blog post, but presumably existing content could use more or less anything.
- Status changed to Needs review
11 months ago 11:23am 30 December 2023 - π¬π§United Kingdom catch
Actually thinking about #5 more, if we set replace_pattern to
.*
or whatever we come up with that will accept any existing data in the field, then the machine name widget essentially won't work - because it's just going to leave whatever input as is.To make that work, we'd have to leave the regexp as is (or as is plus spaces maybe), but also remove validation for the machine name pattern when there's existing data in the field or something.
- First commit to issue fork.
- Status changed to RTBC
11 months ago 1:25pm 30 December 2023 - π¬π§United Kingdom catch
OK @lauriii's changes are implemething the last paragraph of #6 but prove it's actually easy to do whereas I thought it would be a pain. I can't see any drawbacks to that approach, so RTBC from me (and none of my code is in the MR now).
- π¬π§United Kingdom catch
Pushed one commit to add an explanatory comment, leaving RTBC since it's just a comment addition.
- πΊπΈUnited States kevinquillen
alexpott β credited kevinquillen β .
- π¬π§United Kingdom alexpott πͺπΊπ
This looks like a good fix.
Committed and pushed 7ca3f9e2e0 to 11.x and 35b420b9ee to 10.2.x. Thanks!
-
alexpott β
committed 35b420b9 on 10.2.x
Issue #3411419 by catch, lauriii, larowlan, kevinquillen: Regression...
-
alexpott β
committed 35b420b9 on 10.2.x
- Status changed to Fixed
11 months ago 4:26pm 30 December 2023 -
alexpott β
committed 7ca3f9e2 on 11.x
Issue #3411419 by catch, lauriii, larowlan, kevinquillen: Regression...
-
alexpott β
committed 7ca3f9e2 on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.
π Not able to add to List field with 0 as the first machine name. Needs work has a comment mentioning this issue.