{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/457","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/457/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/457/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/457/events","html_url":"https://github.com/tbeu/Modelica/issues/457","id":197515155,"number":457,"title":"Garbage in a lot of annotations in MSL 3.2 and MSL 3.1.","user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"labels":[{"id":506762997,"url":"https://api.github.com/repos/tbeu/Modelica/labels/bug","name":"bug","color":"ee0701","default":true},{"id":506770144,"url":"https://api.github.com/repos/tbeu/Modelica/labels/P:%20high","name":"P: high","color":"ff6666","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/tbeu/Modelica/milestones/47","html_url":"https://github.com/tbeu/Modelica/milestone/47","labels_url":"https://api.github.com/repos/tbeu/Modelica/milestones/47/labels","id":2214850,"number":47,"title":"MSL3.2.1","description":"Backward compatible bug-fix release.","creator":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":14,"state":"closed","created_at":"2016-12-25T13:00:27Z","updated_at":"2016-12-25T21:07:18Z","due_on":"2013-03-31T07:00:00Z","closed_at":"2016-12-25T13:00:27Z"},"comments":26,"created_at":"2016-12-25T21:05:38Z","updated_at":"2016-12-25T21:11:52Z","closed_at":null,"body":"**Reported by adrpo on 17 Nov 2010 12:17 UTC**\nJust search for \"extent=[\" and you will find plenty of this garbage. The problem is that this garbage makes annotations not correct. Example:\nModelica.Electrical.Analog.Basic.M_Transformer:\n```\nannotation (extent=[-80,-40; -62,40], Placement(transformation(\n          extent={{-80,-40},{-62,40}}, rotation=0)));\nor below, in:\nannotation(Icon(..., graphics={...},\n      Ellipse(extent=[-36,24; -18,42]),\n      Ellipse(extent=[18,24; 36,42]),\n      Ellipse(extent=[0,24; 18,42]),\n      Ellipse(extent=[-18,24; 0,42]),\n...);\n```\n\nHowever, Icon annotation CANNOT contain Ellipses, they can\nonly be part of the graphics component.\n\nThere are 353 occurrences of such garbage, see the attached file.\n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/457"},"comment":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/comments/269137649","html_url":"https://github.com/tbeu/Modelica/issues/457#issuecomment-269137649","issue_url":"https://api.github.com/repos/tbeu/Modelica/issues/457","id":269137649,"user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"created_at":"2016-12-25T21:11:52Z","updated_at":"2016-12-25T21:11:52Z","body":"**Comment by hansolsson on 30 May 2012 11:57 UTC**\nReplying to [comment:26 dietmarw]:\n> The annotation problems reported by [attachment:warningLog.txt:ticket:753 warningLog.txt] are fixed in f994d5b52ce0f8d88654b9dddf6a90a5702ea29c except for:\n>  \\* Modelica.Electrical.Analog.Basic.M_Transformer component p the annotation 'extent' is unknown; just remove old one.\n>  \\* Modelica.Electrical.Analog.Basic.M_Transformer component n the annotation 'extent' is unknown; just remove old one. \n> Which seem to be false positives. At least I could not find anything wrong with the annotations there.\n\nI don't see the exception: the two above are also included in the change-set (first item)."}}
{"actor":{"display_login":"modelica-trac-importer"}}