Project

General

Profile

Actions

Bug #4087

closed

Simple view not responding with default rendering

Added by Lequeux Olivier over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Immediate
Assigned To:
Category:
-
Target version:
-
Start date:
03/08/2013
Due date:
% Done:

100%

Estimated time:

Description

With the following configuration myTest is not responding. We have to specify accept or contentType in config view to get the view.
A Curl command seems working.

<view name="nagios_status_expert">
        <info>
            <category>primary</category>
            <description>Statuts des sondes du Nagios "expert"</description>
        </info>
        <connector type="HTTPConnector">
            <parameter name="url">http://ccsvli39.in2p3.fr/nagios_status.xml</parameter>
        </connector>
        <cache type="FileCache">
            <trigger type="ViewNotifiedTrigger"></trigger>
        </cache>
        <rendering contentType="application/xml"/>
    </view>

    <view name="myTEST">
        <connector type="XMLConnector">
            <parameter name="content" type="ViewParameter">nagios_status_expert</parameter>
        </connector>
    </view>

NOT WORKING :
http://ccleol:8080/lavoisier/myTEST

WORKING :
http://ccleol:8080/lavoisier/myTEST?accept=xml

Actions

Also available in: Atom PDF