[Thread Prev][Thread Next][Index]

Re: bug in LASTemplate.pm ?



Have you checked for JavaScript errors when you attempt to open your datasets? This could cause the behavior you are seeing. XML containing variable names with single/double quotes or '<' could be the source of the problem -- they don't translate correctly (in the version of LAS you are using)

Andrew Woolf wrote:

I'm too lost in the hash dereferencing etc to work out if this is an
actual bug. However:

I have an example of two datasets. By default, the first is expanded in
the left frame in LAS. If I then select (and expand) the second, then go
back to the first, the first won't expand any more.

Trying to solve this, I found that in setState() (LASTemplate.pm),
if I make the following replacement near the beginning, it works:

    if ($op eq 'normal'){
        $stateName = 'state';
#       $state = $self->{sessionData}->{$stateName};
        $state = $self->{$stateName};
    } elsif ($op eq 'compare'){
     ...

Can someone (Joe or Steve? :-) ) who knows this code better than I suggest
whether this is a bug, and if not - any ideas on why my user interface
won't open. I can provide XML if needed.

Thanks very much,
 - Andrew

-----------------------------------------------------
Andrew Woolf  (awo@mail.nerc-essc.ac.uk)
Environmental Systems Science Centre (ESSC)
Reading University
3 Earley Gate
Whiteknights
Reading RG6 6AL
UNITED KINGDOM
Phone: +44 (0)118 931 8741   Fax: +44 (0)118 931 6413
-----------------------------------------------------

--
Joe Sirott
 
[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement