Bug 508

Summary: [Chameleon - Service Instance] bilingual templates not flipping between templates
Product: Chameleon Reporter: Chris Thorne <cthorne@dmsolutions.ca>
Component: Service InstanceAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: CLOSED WORKSFORME    
Severity: normal    
Priority: P2    
Version: 1.99   
Target Milestone: 1.99 beta 3   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description From 2004-07-09 13:56:13
During the local test on mulitie languaged templates eg.

http://localhost/chameleon/cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0&LANGUAGES=en-CA,fr-CA&TEMPLATES=http://localhost/chameleon/cwc2/templates/sample_cwc2_en.html,http://localhost/chameleon/cwc2/templates/sample_cwc2_fr.html

When you select the french button, the application reloads the english template. :(

I also tried this on DOT server and resulted in the template/context not loading
properly. I do not know if it is the result of the same issue?

http://dev1.dmsolutions.ca/msapps/cwc2-1.99beta-20040709/cwc2.php?service=VCG&request=GetApplication&version=0.1.0&LANGUAGES=en-CA,fr-CA&TEMPLATES=http://dev1.dmsolutions.ca/msapps/cwc2-1.99beta-20040709_templates/sample_cwc2_en.html,http://dev1.dmsolutions.ca/msapps/cwc2-1.99beta-20040709_templates/sample_cwc2_fr.html
------- Comment #1 From 2004-07-09 14:27:26 -------
forgot to add: Testing using beta 2 2004-07-09
------- Comment #2 From 2004-07-09 15:02:05 -------
fixed in cvs version
------- Comment #3 From 2004-07-12 13:53:33 -------
nothing has changed the issue still exists since fix.
------- Comment #4 From 2004-07-12 14:40:54 -------
this works on my ms4w version on my machine but not on dev1 nor on Chris'
machine.  CVS appears to be up to date in all places :(  I'll look into this.
------- Comment #5 From 2004-07-13 07:37:44 -------
Changed target to 1.99 Beta 2.
------- Comment #6 From 2004-07-22 15:26:58 -------
Changed target to 1.99 Beta 3.
------- Comment #7 From 2004-10-06 14:15:43 -------
this is working for me locally and on dev1 with the latest cvs.  Could have been
fixed when I worked on language issues in another bug (#?).  To be verified when
beta3 is tested.
------- Comment #8 From 2004-10-26 07:34:37 -------
verified with beta 3 20040122 on windows
biligual works for the service instance.
------- Comment #9 From 2004-10-27 12:43:24 -------
Verified on Fedora Core 2.  I have a question before closing this bug.   Why the
map is redraw when switching from English to French?
------- Comment #10 From 2004-10-27 13:24:47 -------
norm, the main reason is that the french side of the application is a totally
separate template that need to be loaded.

Also I do not believe it is possible to not reload a map without using the jsapi
component of chameleon.
------- Comment #11 From 2004-10-27 13:38:59 -------
I can't reproduce this using the URL in comment 1 ... if you think it is an
issue then I would suggest filing a separate bug.
------- Comment #12 From 2004-10-27 14:08:34 -------
Based on comment #10 it seems normal.  The new template is loading and it is
normal to see the map preview beeing redraw.