Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • CIMpy CIMpy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ACS
  • Public
  • CIM
  • CIMpyCIMpy
  • Issues
  • #30
Closed
Open
Issue created Oct 12, 2020 by Jonathan Klimt@jonathan.klimtDeveloper

`cimimport` cannot report failures to calling function

Even on malformed input, cimimport runs to the end and does not report an error to the calling function. All errors are just printed to the terminal.

I think cimpy should throw an exception upon receiving malformed input.

Example output (importing only one of the example files):

Referenced TopologicalNode [_16f5db35-83c6-418e-ae9e-69f05e77147b] object missing. : 1 times
Referenced TopologicalNode [_371cfe37-f187-4fb8-8402-d7f7f5a0dfda] object missing. : 1 times
Referenced TopologicalNode [_6bd6b703-519b-46a8-a1f8-632f7e9d05f1] object missing. : 1 times
Missing Terminal object with uuid: E-301 : 1 times
Missing Terminal object with uuid: E-302 : 1 times
Missing Terminal object with uuid: E-309 : 1 times
Assignee
Assign to
Time tracking