Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
otb
otb
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 273
    • Issues 273
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Main Repositories
  • otbotb
  • Issues
  • #2130

Closed
Open
Opened Jan 12, 2021 by Julien Osman@julienosmanDeveloper

Application results in error when launched from QGIS 1=3.16.2 and optional string parameters left empty

Description

This bug was reported on the forum.

Since last QGIS version (3.16.2), which includes the improvements developed by @troopa81, one can't launch an application from QGIS if an optional string parameter is left empty, because the application would return the error ERROR: No value associated to parameter -ParameterName.

I tried to launch the application from the command line, with empty strings as parameters, and I get the same error message. It would be interesting if the application didn't crash because of an empty optional parameter. Thus, we may want to fix this in the Application Engine.

Steps to reproduce

Use QGIS to launch the "Segmentation" application leaving the "mode.vector.layername" parameter empty.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: orfeotoolbox/otb#2130