-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Move Changelog files into 11.3 for upcoming release
With the release of TYPO3 v11.3, Changelog documentation is no longer expected in master, but in 11.3 folder. Resolves: #94532 Releases: master Change-Id: I04808715808e6ac66e8a032e2809fc1d4d44109c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69807 Tested-by: Oliver Bartsch <bo@cedev.de> Tested-by: core-ci <typo3@b13.com> Tested-by: Benni Mack <benni@typo3.org> Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Benni Mack <benni@typo3.org> Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
- Loading branch information
Showing
69 changed files
with
938 additions
and
794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
...xt/core/Documentation/Changelog/11.3/Deprecation-94058-JavaScriptGoToModule.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.. include:: ../../Includes.txt | ||
|
||
============================================= | ||
Deprecation: #94058 - JavaScript goToModule() | ||
============================================= | ||
|
||
See :issue:`94058` | ||
|
||
Description | ||
=========== | ||
|
||
One of the most prominent inline JavaScript functions | ||
:javascript:`goToModule()` has been deprecated in favor of a streamlined | ||
ActionHandler API for JavaScript. | ||
|
||
|
||
Impact | ||
====== | ||
|
||
When using the internal backend module entry objects via `setOnClick` and | ||
`getOnClick` methods, PHP deprecation warnings are now triggered. | ||
|
||
|
||
Affected Installations | ||
====================== | ||
|
||
TYPO3 installations with custom extensions referencing these methods. | ||
|
||
|
||
Migration | ||
========= | ||
|
||
Use the following HTML code to replace the inline :javascript:`goToModule()` | ||
call to for example link to the page module: | ||
|
||
.. code-block:: html | ||
|
||
<a href="#" | ||
data-dispatch-action="TYPO3.ModuleMenu.showModule" | ||
data-dispatch-args-list="web_layout" | ||
> | ||
Go to page module | ||
</a> | ||
|
||
.. index:: JavaScript, FullyScanned, ext:backend |
2 changes: 1 addition & 1 deletion
2
...eterTypeEvaluationViaDocBlockComments.rst → ...eterTypeEvaluationViaDocBlockComments.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
...cumentation/Changelog/11.3/Deprecation-94209-BackendModuleLayoutViewHelpers.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
.. include:: ../../Includes.txt | ||
|
||
====================================================== | ||
Deprecation: #94209 - Backend ModuleLayout ViewHelpers | ||
====================================================== | ||
|
||
See :issue:`94209` | ||
|
||
Description | ||
=========== | ||
|
||
The following Fluid ViewHelpers have been deprecated: | ||
|
||
* :html:`be:moduleLayout` | ||
* :html:`be:moduleLayout.menu` | ||
* :html:`be:moduleLayout.menuItem` | ||
* :html:`be:moduleLayout.button.linkButton` | ||
* :html:`be:moduleLayout.button.shortcutButton` | ||
|
||
These ViewHelpers partially mimic their counterparts of the PHP based | ||
:php:`ModuleTemplate` API. They were previously used in backend modules | ||
when the 'doc header' handling was done in Fluid. | ||
|
||
The ViewHelpers however relied on knowledge that shouldn't be the scope | ||
of a view component, especially variables like the current action | ||
and controller had to be assigned to the view in many cases. | ||
|
||
Additionally, those ViewHelpers were only a sub set of the ModuleTemplate | ||
functionality and created a second API for the same problem domain and | ||
various scenarios like good shortcut implementation and main drop down | ||
state were hard to solve when using these ViewHelpers. | ||
|
||
|
||
Impact | ||
====== | ||
|
||
Using these ViewHelpers will trigger a PHP :php:`E_USER_DEPRECATED` error. | ||
|
||
|
||
Affected Installations | ||
====================== | ||
|
||
Some extensions with backend modules may use these ViewHelpers. Searching | ||
templates for string :php:`be:moduleLayout` should reveal usages. Extensions | ||
extending the PHP classes are found by the extension scanner as a weak match. | ||
|
||
|
||
Migration | ||
========= | ||
|
||
In general, extensions using these ViewHelpers should switch to using the | ||
PHP API based on class :php:`\TYPO3\CMS\Backend\Template\ModuleTemplate`, | ||
usually initialized by class | ||
:php:`\TYPO3\CMS\Backend\Template\ModuleTemplateFactory` instead. | ||
All Core extensions that render backend | ||
modules provide usage examples and the fluent API is quite straight | ||
forward. | ||
|
||
For Extbase base backend modules, the 'doc header' should be handled within | ||
controller actions, while the module body is rendered | ||
by the Fluid view component. | ||
|
||
In case an extension heavily relies on the deprecated ViewHelpers and the | ||
functionality should be kept with as little work as possible, the easiest | ||
way is of course to simply copy the according ViewHelpers to the extension | ||
directly and to just adapt the namespace in templates accordingly. | ||
|
||
|
||
.. index:: Backend, Fluid, PartiallyScanned, ext:backend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.