Page MenuHomeDevCentral

Handle NULL value
ClosedPublic

Authored by dereckson on Feb 27 2022, 01:36.
Tags
None
Referenced Files
F13363572: D2563.id6475.diff
Fri, Nov 21, 20:19
F13299926: D2563.diff
Fri, Nov 21, 08:12
F13257720: D2563.id.diff
Thu, Nov 20, 23:19
Unknown Object (File)
Thu, Nov 20, 11:06
Unknown Object (File)
Thu, Nov 20, 00:27
Unknown Object (File)
Wed, Nov 19, 10:07
Unknown Object (File)
Tue, Nov 18, 13:17
Unknown Object (File)
Tue, Nov 18, 10:17
Subscribers
None

Details

Summary

The dump didn't handle the NULL type.

This created an issue, as a NULL value in JavaScript:

  • is an object (sic)
  • doesn't have a constructor property in prototype
Test Plan

runas: {{ bot['runas'] | default('') }}
now renders as runas: NULL.

Diff Detail

Repository
rINFRAWWW Nasqueron infrastructure servers website
Lint
Lint Passed
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4013
Build 4265: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Feb 27 2022, 01:36

SCSS rules gives:

image.png (191×477 px, 25 KB)

That should attract attention it's not an expected value.

This revision was automatically updated to reflect the committed changes.