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

Sebastien Francois sf2 at ecs.soton.ac.uk
Wed Aug 21 14:15:59 BST 2013


Hi Dennis,

I did notice a few auto-completion glitches after upgrading the 
Prototype JS library (used by EPrints) in 3.3.12...

When you trigger the auto-completion on your form, could you scroll 
up/down on the entire page (without clicking on it...) to see if the 
auto-completion pops up somewhere else on the page? I know this sounds a 
bit odd but I have a feeling the calculation of the position broke somehow.

Thanks,
Seb

On 21/08/13 14:10, Dennis - UT wrote:
> 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
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/



More information about the Eprints-tech mailing list