{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForDigitalHumanities/TPEN28/issues/69","repository_url":"https://api.github.com/repos/CenterForDigitalHumanities/TPEN28","labels_url":"https://api.github.com/repos/CenterForDigitalHumanities/TPEN28/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/CenterForDigitalHumanities/TPEN28/issues/69/comments","events_url":"https://api.github.com/repos/CenterForDigitalHumanities/TPEN28/issues/69/events","html_url":"https://github.com/CenterForDigitalHumanities/TPEN28/issues/69","id":185773338,"number":69,"title":"Project Export","user":{"login":"thehabes","id":3287006,"avatar_url":"https://avatars.githubusercontent.com/u/3287006?v=3","gravatar_id":"","url":"https://api.github.com/users/thehabes","html_url":"https://github.com/thehabes","followers_url":"https://api.github.com/users/thehabes/followers","following_url":"https://api.github.com/users/thehabes/following{/other_user}","gists_url":"https://api.github.com/users/thehabes/gists{/gist_id}","starred_url":"https://api.github.com/users/thehabes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehabes/subscriptions","organizations_url":"https://api.github.com/users/thehabes/orgs","repos_url":"https://api.github.com/users/thehabes/repos","events_url":"https://api.github.com/users/thehabes/events{/privacy}","received_events_url":"https://api.github.com/users/thehabes/received_events","type":"User","site_admin":false},"labels":[{"id":410899976,"url":"https://api.github.com/repos/CenterForDigitalHumanities/TPEN28/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-27T20:35:12Z","updated_at":"2016-10-28T15:47:37Z","closed_at":null,"body":"The project export tries to remove the tags regardless of whether or not the box is checked.  it gets to this code In tagFilter.java...\r\n```javascript\r\nfor (int i = 0; i < tagsToExclude.length; i++) {\r\n     LOG.log(Level.INFO, \"Removing {0}\", tagsToExclude[i]);\r\n     System.out.println(\"Exclude \"+tagsToExclude[i]);\r\n     if (tagsToExclude[i] != null && tagsToExclude[i].compareTo(\"\") != 0) {\r\n        String[] parts = text.split(\"<\" + tagsToExclude[i] + \" .*?>\");\r\n        content = \"\";\r\n        content += parts[0];\r\n        for (int j = 1; j < parts.length; j++) {\r\n           String[] tmp = parts[j].split(\"</\" + tagsToExclude[i] + \">\");\r\n           if (tmp.length == 2) {\r\n              content += tmp[1];\r\n            }\r\n        }\r\n    }\r\n}\r\n```\r\n\r\n...but tagsToExclude[i] is always null or blank.  "},"comment":{"url":"https://api.github.com/repos/CenterForDigitalHumanities/TPEN28/issues/comments/256956184","html_url":"https://github.com/CenterForDigitalHumanities/TPEN28/issues/69#issuecomment-256956184","issue_url":"https://api.github.com/repos/CenterForDigitalHumanities/TPEN28/issues/69","id":256956184,"user":{"login":"thehabes","id":3287006,"avatar_url":"https://avatars.githubusercontent.com/u/3287006?v=3","gravatar_id":"","url":"https://api.github.com/users/thehabes","html_url":"https://github.com/thehabes","followers_url":"https://api.github.com/users/thehabes/followers","following_url":"https://api.github.com/users/thehabes/following{/other_user}","gists_url":"https://api.github.com/users/thehabes/gists{/gist_id}","starred_url":"https://api.github.com/users/thehabes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehabes/subscriptions","organizations_url":"https://api.github.com/users/thehabes/orgs","repos_url":"https://api.github.com/users/thehabes/repos","events_url":"https://api.github.com/users/thehabes/events{/privacy}","received_events_url":"https://api.github.com/users/thehabes/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T15:47:37Z","updated_at":"2016-10-28T15:47:37Z","body":"The main problem points are here...\r\nparam prefix was weird. Make this index blank in the tag array.   <-- this is bad\r\nSend the tagArray to removeTagsAndContents()\r\n[] <-- because this gets sent in\r\nRemove 1 tags.\r\nRemoving  <-- and it tries to remove nothing here.\r\nMade it out of tag filters\r\n\r\nand here...\r\nWe got the tagFilter. However, we need to pass tagArrayKeepContent into stripTags()\r\n[null] <-- passes a null value into stripTags()\r\nwhat does that look like when we run strip tags?\r\nGotta strip tags...\r\n28-Oct-2016 10:42:27.314 INFO [ajp-nio-8009-exec-767] null.null Stripping out null <-- tries to strip out null\r\n\r\nUltimately, however, I did not check the checkbox to have this removed so my output is correct.\r\n\r\n"}}
{"actor":{"display_login":"thehabes"}}