Ticket #414 (closed Task: fixed)

Opened 8 years ago

Last modified 8 years 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 8 years ago.
Error message when trace pageoutput is enabled

Change History

Changed 8 years ago by RobertSirre

Error message when trace pageoutput is enabled

comment:1 Changed 8 years 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.

comment:2 Changed 8 years ago by fredck

  • Milestone set to FCKeditor 2.4.3
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy