New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatibility between DCA constants and the universal picker #4496
Comments
Will be fixed by #4481 🙃 |
Use |
Closing in favor of #4481, thank you for reporting though 🙏 |
Hm, then I have the described case here or am I thinking wrong?
|
That's not really an issue. The new version of your extension can just require |
I thought I could do without this dependency, but then I will implement it that way or wait for the fix. Thank you 🙃 |
You could also add a conflict with |
There is no downside to defining your dependency this way. |
Except that Contao instances which have to run on an older 4.9 (for whatever reason) can't use the extension anymore. I think I will wait for the fix and use a conflict. In the long run the constants will be used in any case. |
Why not? They will automatically get a version of your extension that is compatible.
But for the conflict to take effect you have to create a new version anyway. |
#4711 fixes the inconsistency |
Affected version(s)
4.9.28
Description
While researching this ticket, I noticed an inconsistency which occurs when an external extension uses the picker widget but not the new DCA constants.
The following line of code only checks for the constant, so DCAs that are still defined as 'Table' (string) and want to be called by a picker widget are no longer compatible with the current Contao version
4.9.28
:contao/core-bundle/src/Picker/AbstractTablePickerProvider.php
Line 139 in 3580632
Or in
TablePickerProvider
:contao/core-bundle/src/Picker/TablePickerProvider.php
Lines 24 to 27 in 3580632
If I would now adjust the extension accordingly, all running Contao instances (
<4.9.28
) that exclusively install the latest version of the extension would no longer work.Is this behavior desired? I would have expected some kind of BC layer here now.
The text was updated successfully, but these errors were encountered: