{"action":"opened","issue":{"url":"https://api.github.com/repos/alpheios-project/components/issues/102","repository_url":"https://api.github.com/repos/alpheios-project/components","labels_url":"https://api.github.com/repos/alpheios-project/components/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/alpheios-project/components/issues/102/comments","events_url":"https://api.github.com/repos/alpheios-project/components/issues/102/events","html_url":"https://github.com/alpheios-project/components/issues/102","id":328719181,"node_id":"MDU6SXNzdWUzMjg3MTkxODE=","number":102,"title":"incorrect showing inflection's table on the panel","user":{"login":"irina060981","id":12377640,"node_id":"MDQ6VXNlcjEyMzc3NjQw","avatar_url":"https://avatars1.githubusercontent.com/u/12377640?v=4","gravatar_id":"","url":"https://api.github.com/users/irina060981","html_url":"https://github.com/irina060981","followers_url":"https://api.github.com/users/irina060981/followers","following_url":"https://api.github.com/users/irina060981/following{/other_user}","gists_url":"https://api.github.com/users/irina060981/gists{/gist_id}","starred_url":"https://api.github.com/users/irina060981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irina060981/subscriptions","organizations_url":"https://api.github.com/users/irina060981/orgs","repos_url":"https://api.github.com/users/irina060981/repos","events_url":"https://api.github.com/users/irina060981/events{/privacy}","received_events_url":"https://api.github.com/users/irina060981/received_events","type":"User","site_admin":false},"labels":[{"id":809235999,"node_id":"MDU6TGFiZWw4MDkyMzU5OTk=","url":"https://api.github.com/repos/alpheios-project/components/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-02T06:34:42Z","updated_at":"2018-06-02T06:34:42Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Description:\r\n\r\n1) For some words Inflections tab on the panel is available and it shows a blank page (if clicks them first) - for example \"bene\"\r\n![image](https://user-images.githubusercontent.com/12377640/40871639-9698b5de-6682-11e8-9845-843b55127698.png)\r\n\r\n2) If you clicked on the otner word first (for example \"cepit\"), it will show inflections tab with correct data\r\n![image](https://user-images.githubusercontent.com/12377640/40871640-aca8a2e4-6682-11e8-87e4-8d24dbdb2141.png)\r\n\r\n3) And then you again click on the \"bene\" word, it will show inflection data (wideTable) for the previous word (\"cepit\").\r\n![image](https://user-images.githubusercontent.com/12377640/40871642-ba072adc-6682-11e8-893a-ebbcc55a854b.png)\r\n\r\n4) And if you click on the Full table button, it prints error to console.\r\n![image](https://user-images.githubusercontent.com/12377640/40871647-c60a1862-6682-11e8-8810-9ed4a918bf6d.png)\r\n\r\nInvestigation results:\r\n\r\n1) Inflection table shows from this.selectedView (inflection component).\r\n   This.selectedView is made from ViewSet based on the lemma.\r\n   And for the \"bene\" it returns ViewSet  without partsOfSpeech (for cepit it returns with partsOfSpeech)\r\n\r\n  That is why for bene - the.selectedView is ''\r\n2) The table is printed using renderInflections. It executes only if selectedView is not empty\r\n   \r\n  So for bene renderInflections doesn't execute, and for cepit - executes.\r\n3) The table is printed to this tag\r\n   \r\n    <div v-show=\"!selectedView.hasComponentData\" class=\"variant2\">\r\n           <div :id=\"elementIDs.wideView\" class=\"\"></div>\r\n          .......\r\n     </div>\r\n\r\nAnd this condition !selectedView.hasComponentData is true for both variants\r\n"}}
{"actor":{"display_login":"irina060981"}}