2019.6.3 Variable Preview view is broken

Hi.
Just noticed that the variable preview is not showing the value column correctly. The column is pushed to the right side of the view.

I have reproduced the case in Opera and Microsoft Edge. I assume the same issue occurs in other browsers as well.

Hi Harald,

Thanks for reaching out!

Unfortunately I couldn’t reproduce the issue you described in Microsoft Edge nor Chrome, does this happen for all projects or just this one? What happens when you resize the window?

Cheers,
Frank

Hey.
I figured out the cause.

I have an xml in one of the Project Variables:

<log4net>
	<appender name="LogFileAppenderInfo" type="log4net.Appender.FileAppender">
		<param name="File" value="c:\logs\info.log" />
		<param name="AppendToFile" value="true" />
		<layout type="log4net.Layout.PatternLayout">
			<param name="ConversionPattern" value="%d %c [%t] %-5p %m%n" />
		</layout>
		<filter type="log4net.Filter.LevelRangeFilter">
			<AcceptOnMatch value="true"/>
			<levelMin value="INFO" />
			<levelMax value="INFO" />
		</filter>
		<filter type="log4net.Filter.DenyAllFilter" />
	</appender>
	<appender name="LogFileAppenderDebug" type="log4net.Appender.FileAppender">
		<param name="File" value="c:\logs\debug.log" />
		<param name="AppendToFile" value="true" />
		<layout type="log4net.Layout.PatternLayout">
			<param name="ConversionPattern" value="%d %c [%t] %-5p %m%n" />
		</layout>
		<filter type="log4net.Filter.LevelRangeFilter">
			<levelMin value="DEBUG" />
			<levelMax value="DEBUG" />
		</filter>
		<filter type="log4net.Filter.DenyAllFilter" />
	</appender>
	<appender name="LogFileAppenderWarn" type="log4net.Appender.FileAppender">
		<param name="File" value="c:\logs\warn.log" />
		<param name="AppendToFile" value="true" />
		<layout type="log4net.Layout.PatternLayout">
			<param name="ConversionPattern" value="%d %c [%t] %-5p %m%n" />
		</layout>
		<filter type="log4net.Filter.LevelRangeFilter">
			<levelMin value="WARN" />
		</filter>
		<filter type="log4net.Filter.DenyAllFilter" />
	</appender>
	<root>
		<appender-ref ref="LogFileAppenderWarn" />
	</root>
	<logger name="Service.WebApp.Controllers.ReshController">
		<appender-ref ref="LogFileAppenderDebug" />
		<appender-ref ref="LogFileAppenderInfo" />
	</logger>
</log4net>    

Which is causing the preview view to break.

We’ve used xml in values in previous versions without any sort of issues.
The view breaks if the xml is formatted with indents.

Thanks for narrowing it down Harald, it actually happens for any long variable value.

I’ve raised an issue for this, so it should get looked at soon.

Thanks again!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.