Bug 785 - [Chameleon-Service Instance]Request sent with the "Languages" parameter set in the URL but not the "templates" and "contexts" parameters
: [Chameleon-Service Instance]Request sent with the "Languages" parameter set i...
Status: CLOSED INVALID
: Chameleon
Service Instance
: 1.99
: PC Linux
: P2 normal
: 1.99 beta 3
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-10-28 09:26 by
Modified: 2004-10-28 12:33 (History)


Attachments


Note

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


Description From 2004-10-28 09:26:43
When a request is sent to a Chameleon service instance with the "Languages"
parameter set but no "templates" and no "contexts" parameters set an error
message is displayed.  Notice that the "cwc2.xml" configuration file is set with
a valid default template, a valid default context and a valid default language.
 The context root directory and template root directory are set correctly.

Fedora Core 2
Chameleon beta 20041022
-----------
Request sent:

http://server/cwc2.php?service=VCG&request=GetApplication&version=0.1.0&
LANGUAGES=en-CA

-----------------
Error message:

request URI was http://127.0.0.1/nsavard/chameleon_beta_cwc2/cwc2.php
query string was service=VCG&request=GetApplication&version=0.1.0&LANGUAGES=en-CA
Invalid request. LANGUAGES specified without TEMPLATES. There must be an equal
number of LANGUAGES and TEMPLATES in the request.
------- Comment #1 From 2004-10-28 09:31:11 -------
Changed target to 1.99 Beta 3.
------- Comment #2 From 2004-10-28 11:52:30 -------
this is how it is supposed to work.  If you specify LANGUAGES, it is mandatory
to specify TEMPLATES and to include the same number of templates as languages,
as indicated in the error message you received.  
------- Comment #3 From 2004-10-28 12:33:20 -------
Since it is by design I close this bug.