EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #02158


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Auto complete not working on file based autocomplete with a compound field


Hi,

I'm working on an upgrade from 3.2.9 to 3.3.12. Most things seem to
work fine, except the autocompletion on a compound field.

In the workflow is:
<field ref="research_group"
input_lookup_url="{$config{perl_url}}/users/lookup/file"
input_lookup_params="file=research_group.autocomplete"/>

The file contains lines such as:
Biomechanical Engineering (BE) (11001000)       <li>Biomechanical
Engineering (BE) (11001000)<ul><li
id='for:value:relative:_name'>Biomechanical Engineering (BE)</li><li
id='for:value:relative:_id'>11001000</li></ul></li>

This has always worked in 3.2.9, but now I briefly see the loading
indicator and then nothing happens. The title and author autocomplete
does work correctly.

I used firebug to see what was sent back to the browser when typing "biomech":
<?xml version="1.0" encoding="UTF-8" ?>

<ul><li class='ep_first'>Biomechanical Engineering (BE)
(11001000)<ul><li id='for:value:relative:_name'>Biomechanical
Engineering (BE)</li><li
id='for:value:relative:_id'>11001000</li></ul></li>
...

This seems fine, right?

Is this a known issue? Does anyone else have the same problem? Or did
I make a mistake somewhere?

Thanks!

Dennis
University of Twente