persistence: Fix regression in saving options.

Authored by mpyne on Dec 23 2017, 10:49 PM.

Description

persistence: Fix regression in saving options.

The move to JSON storage of persistent opts break first-time users,
since the refactored code never actually gets around to setting a
persistent_options key in the build context object.

This seemed to work previously with Data::Dumper, but JSON::PP is not
happy with being asked to serialize an undef. On the other hand I had
always thought that sub setPersistentOption would have 'autovivified'
the needed hash table, and the reporter's build process should have
resulted in many calls to setPersistentOption over the build.

BUG:388180
FIXED-IN:18.01

Details

Committed
mpyneDec 23 2017, 11:13 PM
Parents
R365:fdbaaaa548f9: kde-projects: Fix runtime check for YAML modules.
Branches
Unknown
Tags
Unknown