mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
ALF-12097 we were using the links system generated name instead of its 'title'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -96,13 +96,13 @@ public class LinksDeletePost extends AbstractLinksWebScript
|
||||
}
|
||||
catch (AccessDeniedException e)
|
||||
{
|
||||
String message = "You don't have permission to delete the link with name '" + link.getSystemName() + "'";
|
||||
String message = "You don't have permission to delete the link with name '" + link.getTitle() + "'";
|
||||
|
||||
status.setCode(Status.STATUS_FORBIDDEN);
|
||||
status.setMessage(message);
|
||||
|
||||
message = rb.getString(MSG_ACCESS_DENIED);
|
||||
model.put(PARAM_MESSAGE, MessageFormat.format(message, link.getSystemName()));
|
||||
model.put(PARAM_MESSAGE, MessageFormat.format(message, link.getTitle()));
|
||||
return model;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user