[BUGFIX] Improved log message 25/31725/2
authorFrancois Suter <francois@typo3.org>
Tue, 22 Jul 2014 15:44:16 +0000 (17:44 +0200)
committerFrancois Suter <francois@typo3.org>
Tue, 22 Jul 2014 15:48:56 +0000 (17:48 +0200)
The log message announcing a successful rebuilding of the query
is made more explicit by adding the query's title.

Releases: 1.10
Resolves #60461

Change-Id: Ife02d0ce685c3c54a9b80d57247d4609869856a0
Reviewed-on: https://review.typo3.org/31725
Reviewed-by: Francois Suter <francois@typo3.org>
Tested-by: Francois Suter <francois@typo3.org>
ChangeLog
class.tx_dataquery_wrapper.php

index 94f50e7..fcb46e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-07-22 Francois Suter (Cobweb)  <typo3@cobweb.ch>
+
+       * Improved query rebuilding log message, resolves #60461
+
 2014-05-09 Francois Suter (Cobweb)  <typo3@cobweb.ch>
 
        * Compatibility verified with TYPO3 CMS 6.2, resolves #58603
index 2c2d646..7a9105a 100644 (file)
@@ -127,7 +127,7 @@ class tx_dataquery_wrapper extends tx_tesseract_providerbase {
                                        $query = $this->sqlParser->buildQuery();
                                        $this->controller->addMessage(
                                                $this->extKey,
-                                               'Query parsed and rebuilt successfully',
+                                               sprintf('Query parsed and rebuilt successfully (%s)', $this->providerData['title']),
                                                '',
                                                t3lib_FlashMessage::OK,
                                                $query