Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
M mom-ca
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 407
    • Issues 407
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • mom-ca
  • Issues
  • #733

Closed
Open
Created Feb 24, 2018 by Administrator@rootMaintainer

my-charter preview throws XRX error in case of non authenticated request

Created by: GVogeler

When calling a private charter in the preview MOM-CA currently throws an XRX-error:

The actual return type does not match the sequence type declared in the function's signature: charter:charterid(xs:string?) xs:string. Expected cardinality: exactly one, got 0. [at line 161, column 26, source: String] In function: charter:charterid(xs:string?) [25:207:/db/XRX.live/mom/app/charter/charter.xqm] It would be nice to have a standard authentication request instead ("This charter is private. Please log in to ..."), although the case is not very often, as it usually only occurs in project cooperations where URLs are sent around and testes without being logged in.

Assignee
Assign to
Sammlungsumgebung
Milestone
Sammlungsumgebung
Assign milestone
Time tracking