Open airinggov opened 1 week ago
Hi @AlexZorkin I know there was a bit of discussion on this bug about whether we need the "Other Diesel" option and we actually do. It looks like it has been removed from the choices for Fuel type, but we do need it as it is listed in the Technical Regs with a specific energy density assigned to it. I checked with the verification team and they confirmed that this is related to a specific fuel type that is distinct from the "Other" option. The explanation was:
The other diesel fuel option represents fischer-tropsch diesel which is the diesel with the lowest energy content we are aware of
For this "Other Diesel" fuel type, the "Fuel type other" field should remain locked and null. "Units" should remain locked and have the associated value from look-up table (L). "Energy density" should remain locked and have the associated value from look-up table (36.51).
Apologies for the confusion on this one
Describe the Bug The “Fuel type other”, "Units" and "Energy density" fields are incorrectly being enabled when “Other diesel fuel” is selected under “Fuel type”. This should only occur when “Other” is selected under “Fuel type”.
Expected Behaviour The “Fuel type other”, "Units" and "Energy density" fields should only be enabled when “Other” is selected under “Fuel type” and remain disabled for all other fuel type selections.
When "Other diesel fuel" is selected the "Fuel type other" field should remain locked and null. "Units" should remain locked and have the associated value from look-up table. "Energy density" should remain locked and have the associated value from look-up table.
Actual Behaviour The “Fuel type other” field is enabled when “Other diesel fuel” is selected under “Fuel type”.
Implications This could lead to data inconsistencies and incorrect reporting in both “Fuel supply” and “Export fuel” schedules, as the “Fuel type other” field is not meant to be editable unless “Other” is selected.
Steps To Reproduce
Additional Context