View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004367 | NoesisGUI | C++ SDK | public | 2025-09-04 00:57 | 2025-09-04 00:59 |
| Reporter | maherne | Assigned To | sfernandez | ||
| Priority | normal | Severity | major | ||
| Status | assigned | Resolution | open | ||
| Product Version | 3.2.8 | ||||
| Target Version | 3.2 | ||||
| Summary | 0004367: Crash when DataTemplates contain circular references | ||||
| Description | Stackoverflows occur in the following cases: | ||||
| Attached Files | ContentControlCrash.xaml (963 bytes)
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignWidth="1920"
d:DesignHeight="1080"
Background="#FF4D5052">
<Page.Resources>
<ResourceDictionary>
<DataTemplate x:Key="DataTemplate.Outer">
<Grid>
<ContentControl Content="ContentControl" ContentTemplate="{DynamicResource DataTemplate.Inner}"/>
</Grid>
</DataTemplate>
<DataTemplate x:Key="DataTemplate.Inner" DataType="String">
<Grid>
<ContentControl ContentTemplate="{DynamicResource DataTemplate.Outer}"/>
</Grid>
</DataTemplate>
</ResourceDictionary>
</Page.Resources>
<Grid>
<ContentControl ContentTemplate="{DynamicResource DataTemplate.Outer}"/>
</Grid>
</Page> ItemsControlCrash.xaml (1,321 bytes)
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignWidth="1920"
d:DesignHeight="1080"
Background="#FF4D5052" xmlns:system="clr-namespace:System;assembly=mscorlib">
<Page.Resources>
<ResourceDictionary>
<DataTemplate x:Key="DataTemplate.Outer">
<Grid>
<ItemsControl ItemTemplate="{DynamicResource DataTemplate.Outer}">
<system:String>Item #1</system:String>
<system:String>Item #2</system:String>
<system:String>Item #3</system:String>
<system:String>Item #4</system:String>
<system:String>Item #5</system:String>
<system:String>Item #6</system:String>
<system:String>Item #7</system:String>
<system:String>Item #8</system:String>
<system:String>Item #9</system:String>
<system:String>Item #10</system:String>
</ItemsControl>
</Grid>
</DataTemplate>
</ResourceDictionary>
</Page.Resources>
<Grid>
<ContentControl ContentTemplate="{DynamicResource DataTemplate.Outer}"/>
</Grid>
</Page> | ||||
| Platform | Any | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-09-04 00:57 | maherne | New Issue | |
| 2025-09-04 00:57 | maherne | File Added: ContentControlCrash.xaml | |
| 2025-09-04 00:57 | maherne | File Added: ItemsControlCrash.xaml | |
| 2025-09-04 00:59 | jsantos | Product Version | 3.2.9 => 3.2.8 |
| 2025-09-04 00:59 | jsantos | Target Version | => 3.2 |
| 2025-09-04 00:59 | jsantos | Assigned To | => sfernandez |
| 2025-09-04 00:59 | jsantos | Status | new => assigned |