{"action":"closed","issue":{"url":"https://api.github.com/repos/opensalt/opensalt/issues/568","repository_url":"https://api.github.com/repos/opensalt/opensalt","labels_url":"https://api.github.com/repos/opensalt/opensalt/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/opensalt/opensalt/issues/568/comments","events_url":"https://api.github.com/repos/opensalt/opensalt/issues/568/events","html_url":"https://github.com/opensalt/opensalt/issues/568","id":348832689,"node_id":"MDU6SXNzdWUzNDg4MzI2ODk=","number":568,"title":"CASE Format URL does not work on imported Frameworks","user":{"login":"jonscheiding","id":7999269,"node_id":"MDQ6VXNlcjc5OTkyNjk=","avatar_url":"https://avatars3.githubusercontent.com/u/7999269?v=4","gravatar_id":"","url":"https://api.github.com/users/jonscheiding","html_url":"https://github.com/jonscheiding","followers_url":"https://api.github.com/users/jonscheiding/followers","following_url":"https://api.github.com/users/jonscheiding/following{/other_user}","gists_url":"https://api.github.com/users/jonscheiding/gists{/gist_id}","starred_url":"https://api.github.com/users/jonscheiding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonscheiding/subscriptions","organizations_url":"https://api.github.com/users/jonscheiding/orgs","repos_url":"https://api.github.com/users/jonscheiding/repos","events_url":"https://api.github.com/users/jonscheiding/events{/privacy}","received_events_url":"https://api.github.com/users/jonscheiding/received_events","type":"User","site_admin":false},"labels":[{"id":743548057,"node_id":"MDU6TGFiZWw3NDM1NDgwNTc=","url":"https://api.github.com/repos/opensalt/opensalt/labels/Review","name":"Review","color":"e0e062","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/opensalt/opensalt/milestones/19","html_url":"https://github.com/opensalt/opensalt/milestone/19","labels_url":"https://api.github.com/repos/opensalt/opensalt/milestones/19/labels","id":3064630,"node_id":"MDk6TWlsZXN0b25lMzA2NDYzMA==","number":19,"title":"Backlog","description":"Issues being considered to be done in the next few releases","creator":{"login":"roverwolf","id":210211,"node_id":"MDQ6VXNlcjIxMDIxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/210211?v=4","gravatar_id":"","url":"https://api.github.com/users/roverwolf","html_url":"https://github.com/roverwolf","followers_url":"https://api.github.com/users/roverwolf/followers","following_url":"https://api.github.com/users/roverwolf/following{/other_user}","gists_url":"https://api.github.com/users/roverwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/roverwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roverwolf/subscriptions","organizations_url":"https://api.github.com/users/roverwolf/orgs","repos_url":"https://api.github.com/users/roverwolf/repos","events_url":"https://api.github.com/users/roverwolf/events{/privacy}","received_events_url":"https://api.github.com/users/roverwolf/received_events","type":"User","site_admin":false},"open_issues":51,"closed_issues":1,"state":"open","created_at":"2018-01-25T19:45:44Z","updated_at":"2018-08-21T18:56:01Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-08-08T18:04:05Z","updated_at":"2018-08-21T18:56:01Z","closed_at":"2018-08-21T18:56:01Z","author_association":"CONTRIBUTOR","body":"### Describe the problem\r\nThe \"CASE Format URL\" link doesn't work in Frameworks that were created by importing a CASE file.\r\n\r\n### Version of OpenSALT\r\n2.1.0\r\n\r\n### To reproduce\r\n1. Select Import Framework\r\n2. Select and import either of the CASE files in the attached ZIP\r\n3. Click on the newly imported Framework\r\n4. In the Item Details pane, click the CASE Format URL link\r\n\r\n[case-format-examples.zip](https://github.com/opensalt/opensalt/files/2271279/case-format-examples.zip)\r\n\r\n### Expected behaviour\r\nThe link should redirect you to the imported framework in your OpenSALT instance.\r\n\r\n### Actual behaviour\r\nYou receive an error \"Could not find the Uri: <identifier>\"\r\n\r\n### Your system (please complete the following information):\r\n - Device: desktop\r\n - OS: multiple\r\n - Browser: multiple\r\n\r\n### Additional context\r\n\r\nRelated: #471, #563\r\n\r\nDatabase results from my import (showing how this issue happens even when there are no URI's in the CASE file):\r\n\r\n```\r\nselect  id, uri, identifier, title \r\nfrom    ls_doc \r\nwhere   identifier in ('6635643b-6c2f-4a28-9713-f52190b28ff9', '4be8c04b-ce77-4b6a-8084-f28a3c1d010a');\r\n```\r\n\r\n| id | uri                                                                     | identifier                           | title                                            |\r\n|----|-------------------------------------------------------------------------|--------------------------------------|--------------------------------------------------|\r\n|  7 | https://www.testframeworks.org/doc/6635643b-6c2f-4a28-9713-f52190b28ff9 | 6635643b-6c2f-4a28-9713-f52190b28ff9 | Test Framework with Imported URIs                |\r\n| 11 | local:285619f8-9b26-11e8-96b7-0242ac1a0003                              | 4be8c04b-ce77-4b6a-8084-f28a3c1d010a | Test Framework Without Imported URIs             |\r\n"}}
{"actor":{"display_login":"roverwolf"}}