Hello, We have created a JSP with a "related items" field based on a documentlistpreview (search CMS select/use through clipboard..)
When some one deletes an article that is used in this field we get a nullpointerexception since it tries to retrieve a non existing document. Apparently there's no check whether a document was linked in such a field (only for internal links?) when deleting it. We have created a workaround that whenever such a field is displayed it queries the DB for every related item in that list to see whether it exists or not (doesn't display if not..) But with at least 2 of these kind of fields on each page and (soon) thousands of articles to search through I can imagine this is going to be very server heavy. Any of you have a better solution/idea for this? Thanks in advance Arjan ******************************************** Hippocms-dev: Hippo CMS development public mailinglist
