I am using Alfresco Enterprise 3.0.1
If you create a custom aspect and map its properties to be used as additional options on advanced search. If you create some space and set this aspect on it (in this case is done dinamically and not through the jsf client both creation and aspect setting through a webscript), and after that you try to make a search you know it should give you a result it just says nonsense as such as "the query must have at least one field set" and so on. If I edit the space on the jsf web client without changing any attribute and save it. After that the query works...