Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#414 closed Task (fixed)

.NET Tracing pageoutput causes error in XML connector

Reported by: Robert Owned by: Frederico Caldeira Knabben
Priority: Normal Milestone: FCKeditor 2.4.3
Component: Server : ASP.Net Version:
Keywords: Cc:

Description

Descriptive summary When enabling tracing in a .net application, and enabling page output for that tracing, it causes the XML of the .NET connector to be mal-formatted.

Steps to reproduce Open the web.config in the root of your web application and change your tracing settings to:

<?xml version="1.0"?>
<configuration>
	<system.web>
		<trace enabled="true" pageOutput="true"/>
	</system.web>
</configuration>

This setting is very normal during development and debugging in a test-environment. The try to add an image by using FCK editor and its file upload manager, while the config js file has been setup to use the .aspx connector.

Browser name and OS Irrelevant, although the FCK editor should use a web server where the .Net framework has been installed and the FCKEditor.net dll has been uploaded to the bin directory

Screenshot See attachment

Sample data -none-

Test case file -none-

Solution Force-disable page tracing output on the connectors like this:

<%@ Page
language="c#" Trace="false"
Inherits="FredCK.FCKeditorV2.FileBrowserConnector"
AutoEventWireup="false" %>

Attachments (1)

FCK-.Net-connector-tracing-.gif (71.4 KB) - added by Robert 17 years ago.
Error message when trace pageoutput is enabled

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by Robert

Error message when trace pageoutput is enabled

comment:1 Changed 17 years ago by Alfonso Martínez de Lizarrondo

Resolution: fixed
Status: newclosed

I've only reproduced the bug using an asp.net 2 server, with 1.1 it seems that everything is fine, with or without the proposed patch, so I've added it in [329], and I've patched my branch with [330].

Thanks.

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.4.3
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy