Project

General

Profile

Actions

action #80662

closed

uninitialized value in string eq at .../load_templates line 137

Added by michel_mno over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2020-12-02
Due date:
% Done:

0%

Estimated time:

Description

In a local openQA instance, still managed with templates.json
I inadvertently saved as YAML the PowerPC job group via openQA UI.

On subsequent use of load_templates there was an unexpected "uninitialized value in string" error.

$/usr/share/openqa/script/load_templates --clean /tmp/mytemplate.json
...
Use of uninitialized value in string eq at /usr/share/openqa/script/load_templates line 137.
Bad Request: Group Fedora PowerPC must be updated through the YAML template at /usr/share/openqa/script/load_templates line 139.

1- I do not understand what is wrong with "reftype $json_err eq 'ARRAY';"
https://github.com/os-autoinst/openQA/blob/master/script/load_templates#L137
2- Is there a way to clean my openQA local instance to remove the yaml saved data to be able to continue to use json templates ?

Actions

Also available in: Atom PDF