Issue Bug Closed

#80001Workspace email notification contains preview link ony to the first page in the list of changed data

Gleb Levitin 02/24/17, 14:17 updated 07/01/24, 09:04

Description

The workspace email notification to users after completion the DataHandler operations contain the preview link only to the first page in the set of changed data.

Example:

Imagine, there has been changes for the following content elements within a workspace:

"pages:234, pages:1723, tt_content:2410";

Then the following lines of code wil explode the first {table:uid} occurrence for generating the preview link (here page with uid 234).

SYSEXT:version/Classes/Hook/DataHandlerHook.php::notifyStageChange

list($elementTable, $elementUid) = explode(':', $elementName);
$elementUid = (int)$elementUid;

*IS STATE:*
The remaining records in the dataset are ignored. This is not correct!

*SHOULD BE STATE:*
The preview links should be generated for all the changed pages or pages containing changed records.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.