{"action":"created","issue":{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1203","repository_url":"https://api.github.com/repos/ualbertalib/HydraNorth","labels_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1203/labels{/name}","comments_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1203/comments","events_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1203/events","html_url":"https://github.com/ualbertalib/HydraNorth/issues/1203","id":161993452,"number":1203,"title":"Decoding HTML tags in text fields","user":{"login":"weiweishi","id":2047614,"avatar_url":"https://avatars.githubusercontent.com/u/2047614?v=3","gravatar_id":"","url":"https://api.github.com/users/weiweishi","html_url":"https://github.com/weiweishi","followers_url":"https://api.github.com/users/weiweishi/followers","following_url":"https://api.github.com/users/weiweishi/following{/other_user}","gists_url":"https://api.github.com/users/weiweishi/gists{/gist_id}","starred_url":"https://api.github.com/users/weiweishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiweishi/subscriptions","organizations_url":"https://api.github.com/users/weiweishi/orgs","repos_url":"https://api.github.com/users/weiweishi/repos","events_url":"https://api.github.com/users/weiweishi/events{/privacy}","received_events_url":"https://api.github.com/users/weiweishi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/labels/size:xsmall","name":"size:xsmall","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/milestones/59","html_url":"https://github.com/ualbertalib/HydraNorth/milestones/Tag%201.6","labels_url":"https://api.github.com/repos/ualbertalib/HydraNorth/milestones/59/labels","id":1969951,"number":59,"title":"Tag 1.6","description":"","creator":{"login":"weiweishi","id":2047614,"avatar_url":"https://avatars.githubusercontent.com/u/2047614?v=3","gravatar_id":"","url":"https://api.github.com/users/weiweishi","html_url":"https://github.com/weiweishi","followers_url":"https://api.github.com/users/weiweishi/followers","following_url":"https://api.github.com/users/weiweishi/following{/other_user}","gists_url":"https://api.github.com/users/weiweishi/gists{/gist_id}","starred_url":"https://api.github.com/users/weiweishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiweishi/subscriptions","organizations_url":"https://api.github.com/users/weiweishi/orgs","repos_url":"https://api.github.com/users/weiweishi/repos","events_url":"https://api.github.com/users/weiweishi/events{/privacy}","received_events_url":"https://api.github.com/users/weiweishi/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":0,"state":"open","created_at":"2016-08-29T15:51:42Z","updated_at":"2016-08-29T16:33:13Z","due_on":"2016-09-09T00:00:00Z","closed_at":null},"comments":9,"created_at":"2016-06-23T18:38:39Z","updated_at":"2016-09-06T18:27:53Z","closed_at":null,"body":"Now with the fix to #704 in place, proper html tags can be handled in the text fields. But migrated objects from Thesis Deposit and Dataverse might have the html tags encoded with their html entities (& lt; & gt; & amp; etc.). When rendering the views, these html entities need to be decoded, so that it can be displayed properly as a HTML text.  This can be used for decoding on the view:\r\nhttps://github.com/ualbertalib/HydraNorth/blob/9eba023736bfb2ea2d73b8fc3f851cbe76a02fcf/lib/tasks/migration.rake#L238\r\n"},"comment":{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/comments/245044129","html_url":"https://github.com/ualbertalib/HydraNorth/issues/1203#issuecomment-245044129","issue_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1203","id":245044129,"user":{"login":"johnhuck","id":5233196,"avatar_url":"https://avatars.githubusercontent.com/u/5233196?v=3","gravatar_id":"","url":"https://api.github.com/users/johnhuck","html_url":"https://github.com/johnhuck","followers_url":"https://api.github.com/users/johnhuck/followers","following_url":"https://api.github.com/users/johnhuck/following{/other_user}","gists_url":"https://api.github.com/users/johnhuck/gists{/gist_id}","starred_url":"https://api.github.com/users/johnhuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnhuck/subscriptions","organizations_url":"https://api.github.com/users/johnhuck/orgs","repos_url":"https://api.github.com/users/johnhuck/repos","events_url":"https://api.github.com/users/johnhuck/events{/privacy}","received_events_url":"https://api.github.com/users/johnhuck/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T18:27:53Z","updated_at":"2016-09-06T18:27:53Z","body":"Here is the output ready for ingest. These are all the records for all currently released studies. \r\n\r\nThis seems to be the folder I put the output in before, so I'll continue that practice.\r\n\r\nhttps://drive.google.com/a/ualberta.ca/folderview?id=0B3s6m1gxi006flkta2JBSmkwVjc2Ti1kSXZHX2RmLVQyNjNjQkoweDFwQkNmMEhwSGg1OWs&usp=sharing\r\n\r\nNote that I have identified escaped ampersands in the title, subject, as well as the description field. These are escaped in the Dataverse output. Also note that there are two cases of double escaped ampersands (`&amp;amp;`) in 10026 and 10060, also so escaped in the Dataverse output.\r\n\r\nWe should be aware that there is always the chance that some previously released Dataverse studies will have been withdrawn. The export process gives me all currently released studies, but doesn't identify studies that have been withdrawn. You would only discover those items by comparing the set of currently released studies to a previous set of currently released studies. I'm not sure how you want to identify those items in ERA, but let me know if I can do anything to help.\r\n\r\nThis has actually happened, and let us to add a step in the export process to ensure that I was only getting metadata for currently released studies."}}
{"actor":{"display_login":"johnhuck"}}