Bug 507 - [Chameleon - Service Instance] undefind paths to template and context get error
: [Chameleon - Service Instance] undefind paths to template and context get error
Status: VERIFIED FIXED
: Chameleon
Service Instance
: 1.99
: PC Windows 2000
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-07-09 13:13 by
Modified: 2004-07-12 13:38 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-07-09 13:13:55
I think if the instance url points to templates or context without an actual
path. ( eg. sample_cwc2_en.html) The instance does not look in the cwc2/template
or cwc2/data directories 

For example:

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

Gets the following error:

Notice: Undefined variable: szDestPath in
D:\ms4w\apps\chameleon\htdocs\chameleon.php on line 1153

Notice: Undefined variable: szDestPath in
D:\ms4w\apps\chameleon\htdocs\chameleon.php on line 1153
request URI was http://localhost/chameleon/cwc2/cwc2.php
query string was
service=VCG&request=GetApplication&version=0.1.0&LANGUAGES=en-CA,fr-CA&TEMPLATES=sample_cwc2_en.html,sample_cwc2_fr.html
Access denied to template /ms4w/apps/chameleon/cwc2/templates/

----
or
----

http://dev1.dmsolutions.ca/msapps/cwc2-1.99beta-20040709/cwc2.php?service=VCG&request=GetApplication&version=0.1.0&LANGUAGES=en-CA&TEMPLATES=sample_cwc2.html

Gets the following error:

Notice: Undefined variable: szDestPath in
/home/msapps/chameleon-1.99beta-20040709/htdocs/chameleon.php on line 1153

Notice: Undefined variable: szDestPath in
/home/msapps/chameleon-1.99beta-20040709/htdocs/chameleon.php on line 1153
request URI was http://dev1.dmsolutions.ca/msapps/cwc2-1.99beta-20040709/cwc2.php
query string was
service=VCG&request=GetApplication&version=0.1.0&LANGUAGES=en-CA&TEMPLATES=sample_cwc2.html
Access denied to template /home/msapps/chameleon-1.99beta-20040709/cwc2/templates/
------- Comment #1 From 2004-07-09 14:27:47 -------
forgot to add: Testing using beta 2 2004-07-09
------- Comment #2 From 2004-07-09 14:53:42 -------
fixed in cvs.
------- Comment #3 From 2004-07-12 13:38:01 -------
Verified with both the latest packaged version on xcal installed locally and
with the installed version on DOT.

The template are loaded.