Skip to content

Commit

Permalink
EZP-28174: Improved error message when target of eznode:// and ezobje…
Browse files Browse the repository at this point in the history
…ct:// links doesn't exist
  • Loading branch information
adamwojs committed Nov 29, 2017
1 parent 1d3aa92 commit 22ca0d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extension/ezoe/ezxmltext/handlers/input/ezoeinputparser.php
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ function publishHandlerLink( $element, &$params )
if ( !eZContentObject::exists( $objectID ))
{
$this->Messages[] = ezpI18n::tr( 'design/standard/ezoe/handler',
'Invalid link: "%1" target object does not exist.',
'Invalid link: "%1". Target object does not exist.',
false,
array( $matches[0] ) );
}
Expand All @@ -1273,7 +1273,7 @@ function publishHandlerLink( $element, &$params )
if ( !$node instanceOf eZContentObjectTreeNode )
{
$this->Messages[] = ezpI18n::tr( 'design/standard/ezoe/handler',
'Invalid link "%1": target node does not exist.',
'Invalid link: "%1". Target node does not exist.',
false,
array( $matches[0] ) );
}
Expand All @@ -1284,7 +1284,7 @@ function publishHandlerLink( $element, &$params )
if ( !$node instanceOf eZContentObjectTreeNode )
{
$this->Messages[] = ezpI18n::tr( 'design/standard/ezoe/handler',
'Invalid link "%1": target node does not exist.',
'Invalid link: "%1". Target node does not exist.',
false,
array( $matches[0] ) );
}
Expand Down

0 comments on commit 22ca0d3

Please sign in to comment.