Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When importing a framework in CASS, It is missing the first competency in the list after clicking on View in Editor from the import screen #1365

Open
sedula27 opened this issue Aug 1, 2024 · 5 comments

Comments

@sedula27
Copy link

sedula27 commented Aug 1, 2024

@miledivovic
When a Competency Framework with 4 competencies is added to CASS via import, it says saving 5 objects and you can see all 4 competencies in the summary of the import but once you click on View in Editor option in the Import screen, We are missing the first competency in the list, I tested the export and it has 3 competencies instead of 4 that were uploaded into CASS.

The error in console while importing
TypeError: Failed to execute 'fetch' on 'Window': Failed to read the 'headers' property from 'RequestInit': The provided value is not of type '(record<ByteString, ByteString> or sequence<sequence>)'.
at _callee$ (main.js:39:36)
at tryCatch (regeneratorRuntime.js:45:16)
at Generator. (regeneratorRuntime.js:133:17)
at Generator.next (regeneratorRuntime.js:74:21)
at asyncGeneratorStep (asyncToGenerator.js:3:17)
at _next (asyncToGenerator.js:17:9)
at asyncToGenerator.js:22:7
at new Promise ()
at asyncToGenerator.js:14:12
at editor.js:284:13

Refer the screen recording here: https://github.com/user-attachments/assets/4b5e988b-b3ea-4eed-95e4-bf1d27bc5489
Export from CASS:https://cass.credentialengine.org/api/ceasn/5ab6d60d71571cee91a830c19d8fffab
Link to the Framework: https://apps.credentialengine.org/publisher/competencies/?frameworkctid=ce-71710f61-ef12-4b83-9a2e-1e38062d5466
CSV File used for upload: Rasmussen_Competencies_updated - Record_CASS.csv

When the same file is uploaded to sandbox, it has no issues

But once you delete the previously uploaded framework and re-import it, it has all 4 competencies

@winonadeb
Copy link

does this happen with other import files too?

@sedula27
Copy link
Author

sedula27 commented Aug 1, 2024

Yes, I did happen to other import files, the workaround was to delete the first import and import again

@sedula27
Copy link
Author

sedula27 commented Aug 2, 2024

Here is a screen recording of the issue and workaround from Jeff
https://us02web.zoom.us/rec/share/BGMwU4Ppc0RnHYjfVZ5QzrEc7K0utv5mPTO8YS3pxdkAYfuxeG2Q_jJMLSZpBE4S.FlzTu101zEgN3OLl

@sedula27
Copy link
Author

sedula27 commented Aug 7, 2024

Not a consistent issue, it happened to frameworks uploaded from Rasmussen College

@sedula27 sedula27 removed the blocker Holding up work in other projects. label Aug 21, 2024
@sedula27
Copy link
Author

Not able to reproduce it, leaving this issue open for future reference
Preserve the object created during the display

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants