Ticket #414 (closed Task: fixed)

Opened 20 months ago

Last modified 19 months ago

.NET Tracing pageoutput causes error in XML connector

Reported by: RobertSirre Owned by: fredck
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

FCK-.Net-connector-tracing-.gif (71.4 KB) - added by RobertSirre 20 months ago.
Error message when trace pageoutput is enabled

Change History

Changed 20 months ago by RobertSirre

Error message when trace pageoutput is enabled

Changed 19 months ago by alfonsoml

  • status changed from new to closed
  • resolution set to fixed

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.

Changed 19 months ago by fredck

  • milestone set to FCKeditor 2.4.3
Note: See TracTickets for help on using tickets.