{"action":"created","issue":{"url":"https://api.github.com/repos/Riverside-Software/pct/issues/289","repository_url":"https://api.github.com/repos/Riverside-Software/pct","labels_url":"https://api.github.com/repos/Riverside-Software/pct/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/Riverside-Software/pct/issues/289/comments","events_url":"https://api.github.com/repos/Riverside-Software/pct/issues/289/events","html_url":"https://github.com/Riverside-Software/pct/issues/289","id":300297976,"number":289,"title":"HTMLDocumentation task error on class with LIKE temp-table definition ","user":{"login":"Mazenrab","id":33509675,"avatar_url":"https://avatars0.githubusercontent.com/u/33509675?v=4","gravatar_id":"","url":"https://api.github.com/users/Mazenrab","html_url":"https://github.com/Mazenrab","followers_url":"https://api.github.com/users/Mazenrab/followers","following_url":"https://api.github.com/users/Mazenrab/following{/other_user}","gists_url":"https://api.github.com/users/Mazenrab/gists{/gist_id}","starred_url":"https://api.github.com/users/Mazenrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mazenrab/subscriptions","organizations_url":"https://api.github.com/users/Mazenrab/orgs","repos_url":"https://api.github.com/users/Mazenrab/repos","events_url":"https://api.github.com/users/Mazenrab/events{/privacy}","received_events_url":"https://api.github.com/users/Mazenrab/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-26T16:09:35Z","updated_at":"2018-02-26T16:57:10Z","closed_at":"2018-02-26T16:27:47Z","author_association":"NONE","body":"### Subject of the issue\r\nI have an error when i'm use HTMLDocumentation task on class which contains LIKE temp-table definition.\r\nIf I remove such classes (using temp-table like definition) HTMLDocumentation works fine.\r\n\r\n### Your environment\r\nWindows 7 Enterprise SP1 64-bit\r\nOpenEdge Release 11.6.3 as of Thu Sep  8 19:01:50 EDT 2016\r\nUse default OE 11.6.3 Ant \r\nPCT Version : pct-208-master-87b954be01663bf64f7b435edb02afdd6b4044fa\r\n\r\n\r\n### Actual behaviour\r\n```\r\n[HTMLDocumentation] Generating HTML documentation for C:\\...\\dd\r\n[HTMLDocumentation] An Consultingwerk.Exceptions.Exception has occured:\r\n[HTMLDocumentation] The buffer eTempTable has no field named like.\r\n[HTMLDocumentation] C:\\Users\\PAKHNY~1\\AppData\\Local\\Temp\\pctinit10275.p at line 31  (C:\\Users\\PAKHNY~1\\AppData\\Local\\Temp\\pctinit10275.p)\r\n[HTMLDocumentation] Consultingwerk/Studio/ClassDocumentation/generate-class-reference.p at line 139  (Consultingwerk/Studio/ClassDocumentation/generate-class-reference.r)\r\n[HTMLDocumentation] ClassRelationProvider Consultingwerk.Studio.ClassDocumentation.ClassRelationProvider at line 638  (Consultingwerk/Studio/ClassDocumentation/ClassRelationProvider.r)\r\n[HTMLDocumentation] ParseClassDocumentation Consultingwerk.Studio.ClassDocumentation.ClassDocumentationParser at line 619  (Consultingwerk/Studio/ClassDocumentation/ClassDocumentationParser.r)\r\n[HTMLDocumentation] StartElement Consultingwerk/sax-reader-handler.p at line 94  (Consultingwerk/sax-reader-handler.r)\r\n[HTMLDocumentation] SaxStartElement Consultingwerk.Studio.ClassDocumentation.ClassDocumentationParser at line 821  (Consultingwerk/Studio/ClassDocumentation/ClassDocumentationParser.r)\r\n[HTMLDocumentation] ParseSaxAttributesToBuffer Consultingwerk.Util.BufferHelper at line 218  (Consultingwerk/Util/BufferHelper.r)\r\n[HTMLDocumentation] HasField Consultingwerk.Assertion.BufferAssert at line 64  (Consultingwerk/Assertion/BufferAssert.r)\r\n\r\nBUILD FAILED\r\nC:\\...\\build.xml:42: Return code : 1\r\n\r\n```\r\n### Steps to reproduce\r\nIt looks like the problem appears when using temp-table definition **only** with LIKE in the CLASS.\r\nI created simple class to reproduce that (i'm using table e-mails from my DB).\r\n\r\n```\r\nUSING Progress.Lang.*.\r\n\r\nBLOCK-LEVEL ON ERROR UNDO, THROW.\r\n\r\nCLASS rt.Domain.test.test:\r\n\r\ndefine private temp-table tt-e-mails no-undo like e-mails.\r\ndefine private dataset dsEmail for tt-e-mails.\r\n\r\nEND CLASS.\r\n```\r\nXML:\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\r\n<unit packageName=\"rt.Domain.test\" className=\"test\" isAbstract=\"false\" isFinal=\"false\" isInterface=\"false\" isEnum=\"false\" isSerializable=\"false\" useWidgetPool=\"false\">\r\n    <using name=\"Progress.Lang.*\" type=\"NONE\"/>\r\n    <temp-table name=\"tt-e-mails\" like=\"e-mails\" definition=\"\" noUndo=\"true\">\r\n        <text>DEFINE TEMP-TABLE tt-e-mails LIKE e-mails NO-UNDO \r\n</text>\r\n    </temp-table>\r\n</unit>\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Riverside-Software/pct/issues/comments/368570749","html_url":"https://github.com/Riverside-Software/pct/issues/289#issuecomment-368570749","issue_url":"https://api.github.com/repos/Riverside-Software/pct/issues/289","id":368570749,"user":{"login":"Mazenrab","id":33509675,"avatar_url":"https://avatars0.githubusercontent.com/u/33509675?v=4","gravatar_id":"","url":"https://api.github.com/users/Mazenrab","html_url":"https://github.com/Mazenrab","followers_url":"https://api.github.com/users/Mazenrab/followers","following_url":"https://api.github.com/users/Mazenrab/following{/other_user}","gists_url":"https://api.github.com/users/Mazenrab/gists{/gist_id}","starred_url":"https://api.github.com/users/Mazenrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mazenrab/subscriptions","organizations_url":"https://api.github.com/users/Mazenrab/orgs","repos_url":"https://api.github.com/users/Mazenrab/repos","events_url":"https://api.github.com/users/Mazenrab/events{/privacy}","received_events_url":"https://api.github.com/users/Mazenrab/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T16:57:10Z","updated_at":"2018-02-26T16:57:10Z","author_association":"NONE","body":"Thanks, it's work."}}
{"actor":{"display_login":"Mazenrab"}}