Skip to content

Crosswalking private Frameworks with subcompetencies fails #227

@forsakendaemon

Description

@forsakendaemon

When attempting to load a Competency Framework that includes subcompetencies that has been marked as private into the crosswalk tool, the tool fails with the following error logged to the console:

/#/crosswalk:1 Uncaught (in promise) Incompatible type: https://schema.cassproject.org/kbac/0.4/EncryptedValue[object Object]

This seems to happen reliably after a server restart, although I have seen it within a session as well.

Steps to reproduce:

  1. Load a Competency Framework that includes subcompetencies (e.g. https://www.onetcenter.org/ctdlasn/graph/ce-07c25f74-9119-11e8-b852-782bcb5df6ac O*NET Content Model Worker Requirements - Basic Skills: U.S. Department of Labor (DOL))using the Import tool
  2. Select the Manage Users option in the top of the screen and mark the Competency Framework as Private
  3. Restart the CaSS server
  4. Log back in to CaSS
  5. Navigate to the Crosswalk tool
  6. Click on the newly-added Competency Framework

Workaround:

  1. Open the affected Competency Framework
  2. Click on Manage Users
  3. Mark the Competency Framework as Public
  4. Accept the changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions