Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Jun 2023 at 23:31 UTC
Updated:
3 Jul 2023 at 20:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
andypostComment #3
spokjeWorks for me.
Comment #4
dwwIMHO, this is masking a bug. Core’s version string, even in
mainbranch when it exists (or 11.x) for now, should never be a 2-digit version. See the branch alias issue. I’d call this works as designed.Comment #5
spokjeSeeing that it causes an (uncaught) PHP warning, that (AFAICT) we expect to cause tests to fail (#3365880: TestBot throws uncaught PHP Warning on 11.x-dev only), my humple opinion is that it's broken, which can't be works as designed.
But happy to let other, bigger brains decide on this :)
Comment #6
dwwI agree there’s a problem. My view is the problem comes from using “11.0-dev” as the VERSION string in the branch, not what this test is doing.
Comment #7
spokjeAbsolutely a fair point.
We both agree there's a problem, we just don't agree on the solution.
Comment #8
smustgrave commentedLets get this in the committers eyes.
Comment #9
andypostProbably it could use better fix but I have no idea how to improve it
Comment #10
catch#3364646: Add a branch alias for 11.x would be the one - if we can resolve that, we might not need the workaround here.
Comment #11
andypostThe
-devsuffix will annoy anywayComment #12
dwwBut that’s the point, if VERSION was already 10.2.0-dev in the “main” branch, this test wouldn’t have any trouble. 2 is already an int.
Comment #13
andypostMaybe this way it will work better
Comment #14
smustgrave commentedSeems like a good compromise to me. Unless we ever name the branch "main" right?
Comment #16
catchCommitted/pushed to 11.x, thanks!