93721[BUGFIX] Do not set stability for known framework packages
Commit message
Review
-
Code review CR +2 Done
- Helmut Hummel +2
- Oliver Klee +1
- Garvin Hicking +1
- Christian Kuhn +1
-
Verified V +2 Done
- Helmut Hummel +2
- Oliver Klee +1
- core-ci +1 CI
Issues 1
Files 1
Review log 2529
Show 24 earlier messages
-
Helmut Hummel uploaded patch set 1 04/17/26, 17:14
-
Helmut Hummel updated the commit message in patch set 2 04/17/26, 17:17
-
core-ci voted on patch set 1 V -1 04/17/26, 17:24 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100403
-
core-ci voted on patch set 2 V -1 04/17/26, 17:29 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100405
-
Helmut Hummel uploaded patch set 3
V -104/17/26, 17:54 -
core-ci voted on patch set 3 V +1 04/17/26, 18:05 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100406
-
Oliver Klee voted on patch set 3 V +1 04/19/26, 11:17
-
Oliver Klee voted on patch set 3 CR +1 04/19/26, 11:18
-
André Buchmann commented on patch set 3 CR -1 04/19/26, 19:57
-
Helmut Hummel commented on patch set 3 04/20/26, 05:01
Package.php:160ReplyAll good points. However: do you think integrators set the extension type to framework? Is that something useful? What do they want to achieve? What breaks if we set this back to extension? -
Helmut Hummel commented on patch set 3 04/20/26, 05:06
Package.php:160ReplyIf changing the package type is disputed, I can easily leave this out, as the more important fix is below. I'm still interested in learning why one sets the extension type of third party extensions to framework... -
André Buchmann commented on patch set 3 04/20/26, 06:35
Package.php:160ReplyMaybe integrator is the wrong wording here, replace it with (inexperienced?) extension developer, maybe even AI ;-) I prefer throwing an exception over fixing it, but open to change my mind if others are fine with the fixing. Is it possible to write a log entry in the PackageManager::registerPackagesFromConfiguration() try-catch to have at least some notification about the error? -
Helmut Hummel commented on patch set 3 04/20/26, 07:29
Package.php:160ReplyAgain: What do you think or assume breaks for the "inexperienced" developer who created the code with AI, when we fix the wrong package type here? As far as I know, there is nothing you can't achieve with a regular extension. What would be breaking though, if we'd throw an exception here, as previously "AI generated code" would stop working. -
Helmut Hummel commented on patch set 3 04/20/26, 07:34
Package.php:177@andy.schliesser@gmail.com It is however a good catch, that throwing InvalidPackageManifestException will silently unregister the extension. This however is true for *any* usage of InvalidPackageManifestException. If this is considered to be improvable (like logging reasons for the error), this can (and for my part should) be done in a different change -
Benjamin Franzke commented on patch set 3 04/20/26, 09:44
I know, this is getting complex again… I found another case which leads to the same exception, which I've found that at least two extensions (EXT:sessionplanner and EXT:sf_event_mgt) used in the part, see https://forge.typo3.org/issues/109626#note-7 I don't know if that is wrong, but it would help to avoid suffixing the stability flag as shown in https://review.typo3.org/c/Packages/TYPO3.CMS/+/93745 to keep previous behavior. -
Helmut Hummel commented on patch set 3 04/20/26, 11:01
Reply
did not find usage of that in sf_event_mgt any hints? Other than that. IIRC using stability flags in ext_emconf.php might have worked, but were never supported/ documented, were they? -
Benjamin Franzke commented on patch set 3 04/20/26, 11:15
Reply
> did not find usage of that in sf_event_mgt. any hints? Has been in dev branches (it was called "typo3-v13" back then) and I had that lying around, the sha1 is: https://github.com/derhansen/sf_event_mgt/blob/34d8e1dc1c18e66e98cc68802e17863d23bd092a/ext_emconf.php#L19-L23 > Other than that. IIRC using stability flags in ext_emconf.php might have worked, but were never supported/ documented, were they? I don't know if they were documented, but I'm also not aware we documented any restrictions. So people probably could write anything in there. I guess ideally we'd "fallback" to whatever is provided as version string as-is, if a parsing exception happens. Hope this helps. -
Benjamin Franzke commented on patch set 3 04/20/26, 11:24
Reply
btw, `sf_event_mgt` does the same in the "typo3-v14" branch: https://github.com/derhansen/sf_event_mgt/blob/73af68a9bfd1d329d97c9b892589da0679820e40/ext_emconf.php#L15-L16 but I think it doesn't fail there because it defines the same way of suffixing the version number in `composer.json` which probably overwrites the ext_emconf value (didn't check that thoroughly though): https://github.com/derhansen/sf_event_mgt/blob/73af68a9bfd1d329d97c9b892589da0679820e40/composer.json#L5 -
Helmut Hummel commented on patch set 3 04/20/26, 16:49
Reply
> I don't know if that is wrong, but it would help to avoid suffixing the stability flag as shown in https://review.typo3.org/c/Packages/TYPO3.CMS/+/93745 to keep previous behavior. As a quick fix, this is totally fine with me. Let's get this in then first and discuss this later -
André Buchmann commented on patch set 3 CR 0 04/20/26, 20:28
Package.php:160ReplyI don't know the reason why anyone would define an extension as typo3-cms-framework. > What breaks if we set this back to extension? Nothing. > Although we should not support third party extension announcing themselves as framework packages, we allowed this in the past without errors. Throwing an InvalidPackageManifestException would unregister the extension now and therefore this would be a breaking change and shouldn't happen anymore for 14.3? If so, can we add a (deprecation) log entry that the type has been fixed for extension xyz. Kinda like the automatic TCA migrations?Package.php:177ReplyI agree that this should be a different patch to apply logging in the PackageManager. I've created a new issue: https://forge.typo3.org/issues/109659 -
Helmut Hummel uploaded patch set 4
CR +1V +104/27/26, 11:33 -
Helmut Hummel commented on patch set 4 04/27/26, 11:36
Package.php:160ReplyI realised that this does not matter for this change. The important part is, to only set the version (and state) for packages we know about. The rest might be left as is or changed in a different effort. -
core-ci voted on patch set 4 V +1 04/27/26, 11:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101167
-
Garvin Hicking voted on patch set 4 CR +1 04/27/26, 12:37
-
Helmut Hummel commented on patch set 4 04/28/26, 10:03
Reply
Done -
Oliver Klee voted on patch set 4 CR +1 V +1 04/28/26, 10:51
-
Christian Kuhn voted on patch set 4 CR +1 05/02/26, 11:14
-
Helmut Hummel voted on patch set 4 CR +2 V +2 05/08/26, 09:36
-
Helmut Hummel merged patch set 5 05/08/26, 09:36
Package.php:160