Skip to content

Problems with BusyAnimation on Csla 8.2.6 #4203

@ProDInfo

Description

@ProDInfo

Describe the bug
Can't load a BussAnimation control when upgrade from Csla 8.2.5 to 8.2.6
throw a exception:
IndexOutOfRangeException: Index was outside the bounds of the array.

System.Windows.Markup.XamlParseException

Version and Platform
CSLA version: 8.2.6
OS: Windows
Platform: WPF

Code that Fails

            <csla:BusyAnimation Width="16"
                                Height="16"
                                Margin="0"
                                HorizontalAlignment="Left"
                                BorderBrush="Green"
                                Foreground="LimeGreen"
                                IsRunning="True"
                                IsTabStop="False" />

Stack Trace or Exception Detail
System.Windows.Markup.XamlParseException: ''La invocación del constructor del tipo 'Csla.Xaml.BusyAnimation' que coincide con las restricciones de enlace especificadas produjo una excepción.' (número de línea: '22'; posición de línea: '14').'

at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at StatusDisplay.InitializeComponent() in ....StatusDisplay.xaml:line 1

Additional context
If revert to version 8.2.5 work fine.

Fail on InitializeComponent of UserControl

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions