FLUID-6630: Prefs framework faultily indexes aux builder itself as an aux schema

Metadata

Source
FLUID-6630
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2021-06-23T09:00:37.570-0400
Updated
2024-07-17T08:08:47.973-0400
Versions
  1. 2.0
Fixed Versions
  1. 3.0
Component
  1. Prefs Framework

Description

During implementation of FLUID-6629, a fault was found where the auxBuilder had the grade of "fluid.uiOptions.auxSchema" applied to it, meaning that the entire auxBuilder got indexed in its own defaults index. This was not a problem until the FLUID-6420 work which managed to override its own "auxiliarySchema" in the right order by accident through overriding it with itself, leading to corruption in the defaults cache, but it would be wise to backport this fix.

Note that for FLUID-6629 there was no straightforward way to ensure the overriding by dynamic grades deferred to inline material rather than the other way round so the pipeline was rewritten in an imperative way. This is another use case for FLUID-6590 local mergePolicies.

In addition some dead test case code was discovered at https://github.com/fluid-project/infusion/blob/main/tests/framework-tests/preferences/js/AuxBuilderTests.js#L446-L506

Comments