FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
123 stars 19 forks source link

No errors thrown when deleting Rive file in Media Assets #3144

Open taggxyz opened 4 months ago

taggxyz commented 4 months ago

Can we access your project?

Current Behavior

When deleting a Rive file from Media Assets, no errors are thrown to show which animations are missing in the app.

Expected Behavior

When a Rive has been deleted from Media Assets, I would expect it to throw errors of all animations with missing assets.

Steps to Reproduce

  1. Create a new page
  2. Upload a Rive file to media assets
  3. Insert the Rive animation into the created page
  4. Delete the Rive file
  5. No error is thrown

This is especially problematic when you have lots of animations in the same file and they are used throughout your app.

Reproducible from Blank

Bug Report Code (Required)

IT4OzMmBw41PsctK14SJc8dagmAXQzsjarxMkcF+e0obIq3NGLIMf8n7UGBuZ+mmd2NcOWH8/W01wMLNuePyVvkFFByJY5xq/7hbEDyXbD6XSpCrDLmOXUEnRN5bGnaCzpuZ2x57JvRYc3Al1GeyJ+mvcAnZJIy0C21AJMqLKoLM+GCKHSW3G30Jg1ZSfCvr

Visual documentation

N/A

Environment

- FlutterFlow version: 4.1.6
- Platform: Web, Desktop
- Browser name and version: N/A
- Operating system and version affected: N/A

Additional Information

I have Rive animations throughout my app. The reason this is an issue is that all my animations are contained within one Rive file (very common). When I create a new animation in my Rive file, I then have to upload the new Rive file to my Media Assets in Flutterflow and then re-link every animation to the new Rive file so that I don't have two Rive files making my app file size huge.

paulperez-dev commented 4 months ago

Hi @taggxyz! I was able to reproduce the issue, I will send it to the ENG team so they can work on this!

sbis04 commented 2 weeks ago

Right now we only check for any asset related errors when you start a Run Mode or Web Publish. We'll keep this issue open to investigate if we can implement a better error detection for assets.