dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.24k stars 1.76k forks source link

CollectionView item gets added with unassigned data #8424

Open rachelkang opened 2 years ago

rachelkang commented 2 years ago

Description

I have a CV of items with various properties (RecipeName, ImageUrl, Ingredients, RecipeBody, RecipeUrl) and a feature to add new items of this type to the CV.

Often, the values of some of these properties will be empty/null when the item is created and added to the CV. When this happens, the item usually gets created and added sesamlessly without any issues.

Recently, however, when the ImageUrl is set to null - rather than showing no image, they have been getting rendered with images pertaining to other items that are already in the CV. However, it's not actually getting associated to the ItemUrl either - it's only showing up like that in the CV

Steps to Reproduce

  1. Run Recipes app
  2. Switch to "My Recipes" tab
  3. Click "New"
  4. Type something into the "Recipe Name" field
  5. Click save
  6. Notice recipe shows up in CV with image from pre-existing item

Version with bug

6.0.400 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

Android 12, iOS 15.5

Did you find any workaround?

No response

Relevant log output

No response

ghost commented 1 year ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

rachelkang commented 1 year ago

Retessted with .NET 8 - still an issue, on both Android and iOS

https://user-images.githubusercontent.com/21988533/225160993-d8f4d610-ca5c-4af8-9b10-36f5b02418cc.mp4

jinxinjuan commented 1 year ago

Verified this issue with Visual Studio Enterprise 17.6.0 Preview 7.0. Not Repro on iOS (16.4) platform with sample project. However the android emulator (API 33 and API 31) does not show image, so mark as repro temporarily and need to verify on android later. iOS: image Android: image