FLUID-6441: ResourceLoader should fire onResourcesLoaded even when there are no resources

Metadata

Source
FLUID-6441
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2019-12-13T09:21:24.940-0500
Updated
2024-07-22T10:35:03.645-0400
Versions
N/A
Fixed Versions
  1. 4.0
Component
  1. ResourceLoader

Description

In the refactoring of ResourceLoader for the FLUID-6148 implementation we have had a regression where the onResourcesLoaded event does not fire if there are no resources. This causes a failure in some prefs framework demos, e.g. https://build.fluidproject.org/infusion/examples/framework/preferences/minimalEditor/ where the message bundle resource has been configured away in favour of a static alternative. See discussion at http://irc-logs.fluidproject.org/%23fluid-work/%23fluid-work.2019-12-12.log at 2019-12-12T14:49:03