I have custom constraint programmed in java that does lucene search query (lists documents in some space) and returns its results as allowedValues. I put this constraint on some property of my aspect and it all works fine till I add new document to that space. Next time I go edit meta-data the new document is not visible in dropdown. Seems like allowed values is not called each time I edit-metadata. (It worked fine in alfresco explorer though…)
Any ideas?