Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-2204

Error deleting an unlinked organizational identity

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • COmanage Registry 3.3.4 (Magic Ring MR4)
    • Registry
    • None
    • Containerized deployment, built from develop branch, commit 5e3aa48

    Description

      After unlinking an organizational identity, I get an error when I try to delete it. The error is 'Mark Day is a member of one or more COs () and cannot be removed.'

      When looking at the 'CO People' area of the OI edit screen, a gear shows up on kind of a phantom line. When hovering over the View item for this, the browser footer area shows that the URL is 'javascript:void();' - See attached image. Clicking on this View link results in an error page stating 'An Internal Error Has Occurred.'.  The error log (sent to the container stdout) shows:

      9/10/2021 2:53:18 PMcomanage_registry;error.log;;;2021-09-10 21:53:18 Error: [InvalidArgumentException] No CO Specified
      9/10/2021 2:53:18 PMcomanage_registry;error.log;;;Request URL: /registry/co_people/canvas
      9/10/2021 2:53:18 PMcomanage_registry;error.log;;;Stack Trace:
      9/10/2021 2:53:18 PMcomanage_registry;error.log;;;#0 /srv/comanage-registry/app/Controller/StandardController.php(293): AppController->beforeFilter()
      9/10/2021 2:53:18 PMcomanage_registry;error.log;;;#1 /srv/comanage-registry/app/Controller/CoPeopleController.php(157): StandardController->beforeFilter()
      9/10/2021 2:53:18 PMcomanage_registry;error.log;;;#2 /srv/comanage-registry/lib/Cake/Event/CakeEventManager.php(244): CoPeopleController->beforeFilter(Object(CakeEvent))
      9/10/2021 2:53:18 PMcomanage_registry;error.log;;;#3 /srv/comanage-registry/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch(Object(CakeEvent))
      9/10/2021 2:53:18 PMcomanage_registry;error.log;;;#4 /srv/comanage-registry/lib/Cake/Routing/Dispatcher.php(189): Controller->startupProcess()
      9/10/2021 2:53:18 PMcomanage_registry;error.log;;;#5 /srv/comanage-registry/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(CoPeopleController), Object(CakeRequest))
      9/10/2021 2:53:18 PMcomanage_registry;error.log;;;#6 /srv/comanage-registry/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
      9/10/2021 2:53:18 PMcomanage_registry;error.log;;;#7 {main}

      This OI was created via a linking enrollment flow and envSource. I then unlinked the OI from the COPerson record, deleted the two identifiers that had been created by envSource, and then tried to delete the OI.

       

       

      Attachments

        1. OI Detail.png
          OI Detail.png
          393 kB
        2. OI Error.png
          OI Error.png
          97 kB

        Issue Links

          Activity

            People

              benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
              mark.day@at.internet2.edu Mark Day
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: