Hi,

digging up this thread again after some more investigation.

The problem that "autocomplete on property with remote autocompletion" does not 
work on one Wiki I'm working on still persists.
The reason that I couldn't reproduce it on my personal Wiki is probably that 
there was also normal autocompletion (non-remote) for the same property in the 
form, thus the values were in the page already and the remote autocompletion 
just took them from there, and never even queried the server.

I now only left the remote autocompletion field in the form (see 
http://patrick-nagel.net/wiki/Special:EditData/Test_autocomplete_on_property/Test)
 
and it doesn't work, just like on the other (non-public) Wiki I was talking 
about.

I then activated MySQL query logging and got the following query when pressing 
the letter 'a' in the remote autocompletion field:

SELECT /* SFAutocompleteAPI::getAllValuesForProperty Patrick */  DISTINCT 
value_xsd  FROM `smw_attributes`  WHERE attribute_title = 
'Test_autocomplete_on_property' AND (LOWER(value_xsd) LIKE 'a%' OR 
LOWER(value_xsd) LIKE '%\_a%')  ORDER BY value_xsd LIMIT 1000

But the 'smw_attributes' table does not exist in my Wikis' databases - I 
suspect it existed in an older SMW database schema. Thus the response is 
'{"error":{"code":"internal_api_error_DBQueryError","info":"Database query 
error","*":""}}'

Patrick.

-- 
Key ID: 0x86E346D4            http://patrick-nagel.net/key.asc
Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Semantic Forms" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/semantic-forms?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to