How to reproduce :
create a link, limit this link to a group
delete the group on LDAP.
Select the link on the links tool
Result : you get a NPE
java.lang.NullPointerException
at org.ametys.plugins.linkdirectory.DirectoryHelper._saxGrantedGroups(DirectoryHelper.java:784)
And you cannot update this link.