Project

General

Profile

Actions

Bug #18866

closed

Property editor misbehavior on keys without labels

Added by Lucas Di Pentima almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Start date:
03/15/2022
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

When there's a key definition like this one:

    "automation": {
      "labels": [],
      "strict": true,
      "values": {
        "results": {
          "labels": []
        },
        "upload": {
          "labels": []
        }
      }
    }

The property editor correctly list the "automation" key id on the key dropdown list. When selected, the value dropdown list doesn't list the "upload" & "results" ids and allows the user to input any text.

This doesn't happen if the key has some label in its definition:

    "automation": {
      "labels": [{"label":"Automation metadata"}],
      "strict": true,
      "values": {
        "results": {
          "labels": []
        },
        "upload": {
          "labels": []
        }
      }
    }

Subtasks 1 (0 open1 closed)

Task #18869: Review 18866-property-editor-bugfixResolvedWard Vandewege03/15/2022

Actions
Actions

Also available in: Atom PDF