[FEATURE] Open specific field when fixing links 02/57102/4
authorSybille Peters <sypets@gmx.de>
Thu, 31 May 2018 10:58:40 +0000 (12:58 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Sun, 5 Aug 2018 08:33:14 +0000 (10:33 +0200)
When fixing links in Linkvalidator, you click on the edit icon
for the respective broken link which gets you to an edit form
for the record.

There you have too many input fields, and it is difficult to see,
what needs fixing.

With this patch only the respective table.field that contains
the broken link is opened in the edit form.

Resolves: #84704
Releases: master
Change-Id: I7d4b3ad96aa47a6a236a8ed0f6dcadc0229fbb82
Reviewed-on: https://review.typo3.org/57102
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de>
Tested-by: Guido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Documentation/Changelog/master/Feature-84704-OpenSpecificFieldWhenFixingLinksInLinkvalidator.rst [new file with mode: 0644]
typo3/sysext/linkvalidator/Classes/Report/LinkValidatorReport.php

diff --git a/typo3/sysext/core/Documentation/Changelog/master/Feature-84704-OpenSpecificFieldWhenFixingLinksInLinkvalidator.rst b/typo3/sysext/core/Documentation/Changelog/master/Feature-84704-OpenSpecificFieldWhenFixingLinksInLinkvalidator.rst
new file mode 100644 (file)
index 0000000..59ffad1
--- /dev/null
@@ -0,0 +1,29 @@
+.. include:: ../../Includes.txt
+
+========================================================================
+Feature: #84704 - Open specific field when fixing links in Linkvalidator
+========================================================================
+
+See :issue:`84704`
+
+Description
+===========
+
+When fixing links in Linkvalidator, you click on the edit icon
+for the respective broken link which gets you to an edit form.
+
+Before this patch, the edit form was opened for the entire record.
+
+There you had too much information, and it was difficult to see,
+what needed fixing.
+
+With this patch only the respective table.field that contains
+the broken link is opened in the edit form (e.g. tt_content.bodytext).
+
+
+Impact
+======
+
+Only affects Linkvalidator. Editing broken links should be easier now.
+
+.. index:: Backend, ext:linkvalidator
\ No newline at end of file
index f062f21..9d48444 100644 (file)
@@ -580,6 +580,7 @@ class LinkValidatorReport extends \TYPO3\CMS\Backend\Module\AbstractFunctionModu
                     $row['record_uid'] => 'edit'
                 ]
             ],
+            'columnsOnly' => $row['field'],
             'returnUrl' => $requestUri
         ]);
         $actionLinkOpen = '<a href="' . htmlspecialchars($url);