View Issue Details

IDProjectCategoryView StatusLast Update
0001371NoesisGUIC# SDKpublic2018-12-10 12:18
ReporterDjekkeAssigned Tosfernandez 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.1.0f1 
Target Version2.2.0Fixed in Version2.2.0b5 
Summary0001371: Removing SelectetItem from collection binded to ListBox crashing app if object type is string.
Descriptionhttps://www.noesisengine.com/forums/viewtopic.php?f=3&t=704&p=8774#p8774

<ListBox ItemsSource="{Binding Names}"
         SelectedItem="{Binding SelectedName}" />


public string SelectedName { get; set; }
public ObservableCollection<string> Names { get; set; }

Remove SelectedItem from collection for example via adding button with followed code cause hard crash.

if (Names.Contains(SelectedName))
{
    Names.Remove(SelectedName);
}

In wpf app all works fine.
If wrap string in class - everything works.
TagsNo tags attached.
PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-12-07 20:15 Djekke New Issue
2018-12-07 21:27 sfernandez Assigned To => sfernandez
2018-12-07 21:27 sfernandez Status new => assigned
2018-12-07 21:27 sfernandez Target Version => 2.2.0
2018-12-10 12:18 sfernandez Status assigned => resolved
2018-12-10 12:18 sfernandez Resolution open => fixed
2018-12-10 12:18 sfernandez Fixed in Version => 2.2.0b5