roozbehid
Topic Author
Posts: 9
Joined: 30 Apr 2025, 17:59

Crash on having collection of enums

06 Aug 2025, 22:49

It seems having this would crash my studio on restart. I can create it and work with it while in the app but next time it crashes
<Class Name="DashboardViewModel">
  <Property Name="UIProfiles" Type="Collection" SubType="Gui.ProfilesViewModel" CollectionMinItemCount="0" CollectionMaxItemCount="10"/>
  <Property Name="ShouldShowProfileSelection" Type="Boolean"/>
  <Property Name="Step2_EnteredName" Type="String" StringMinWordCount="0" StringMaxWordCount="10"/>
  <Property Name="Step2_EnteredAge" Type="Enum" SubType="Gui.KidsAgeRange"/>
  <Property Name="Step2_ListOfAge" Type="Collection" SubType="Gui.KidsAgeRange" CollectionMinItemCount="0" CollectionMaxItemCount="10"/>
  <Property Name="Selected_UIProfile" Type="Object" SubType="Gui.ProfilesViewModel"/>
  <Property Name="Step2_SelectedImage" Type="Object" SubType="ImageSource" ImageSourcePath=""/>
</Class>
the problem is with
  <Property Name="Step2_ListOfAge" Type="Collection" SubType="Gui.KidsAgeRange" CollectionMinItemCount="0" CollectionMaxItemCount="10"/>
<Enum Name="KidsAgeRange">
  <Item Name="Preschool" Value="0"/>
  <Item Name="Kindergarten" Value="1"/>
  <Item Name="grade1" Value="2"/>
  <Item Name="grade2" Value="3"/>
  <Item Name="grade3" Value="4"/>
  <Item Name="grade4" Value="5"/>
  <Item Name="grade5" Value="6"/>
</Enum>
 
User avatar
maherne
Site Admin
Posts: 53
Joined: 01 Jul 2022, 10:10

Re: Crash on having collection of enums

07 Aug 2025, 11:21

Thank you for reporting this issue, it has been fixed for our next Studio release, which is coming in the next few days.

Who is online

Users browsing this forum: No registered users and 2 guests