Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F Fork of the Icinga Director
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Linuxfabrik
  • Fork of the Icinga Director
  • Issues
  • #4

Closed
Open
Created Aug 24, 2021 by Navid Sassan@navid.sassanOwner

remove code that ignores missing datalists when importing

cannot reproduce the error with the following basket:

{
    "DataList": {
        "missing_list": {
            "list_name": "missing_list",
            "owner": "icinga-admin",
            "guid": "fdd809b4-6cca-49b0-8c4e-b53c89241482",
            "originalId": "990",
            "entries": [
                {
                    "entry_name": "entry 1",
                    "entry_value": "entry 1",
                    "format": "string",
                    "allowed_roles": null
                }
            ]
        }
    },
    "Datafield": {
        "991": {
            "varname": "missing test datafield",
            "caption": "missing test datafield",
            "description": null,
            "datatype": "Icinga\\Module\\Director\\DataType\\DataTypeDatalist",
            "format": null,
            "guid": "e155b00e-3a8f-4f09-aebd-1105ef1fd044",
            "originalId": "991",
            "settings": {
                "data_type": "array",
                "datalist": "missing_list"
            }
        }
    }
}
Assignee
Assign to
Time tracking