{"id":6079,"date":"2019-05-20T17:28:39","date_gmt":"2019-05-20T14:28:39","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=6079"},"modified":"2019-05-20T17:28:39","modified_gmt":"2019-05-20T14:28:39","slug":"checklist-item-gets-overwritten-by-previous-item-when-selecting-another-item-with-mouse","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2019\/05\/20\/checklist-item-gets-overwritten-by-previous-item-when-selecting-another-item-with-mouse\/","title":{"rendered":"Checklist item gets overwritten by previous item when selecting another item with mouse"},"content":{"rendered":"<p>When a checklist item is in edit mode (through the specific steps below), selecting another item for editing does not take the previous item out of edit mode, and upon selecting a third item (or pressing enter) causes the second item to be overwritten by whatever content is in the first selected item.<\/p>\n<p><strong>Server Setup Information<\/strong>:<\/p>\n<ul>\n<li>Wekan version: 2.74<\/li>\n<li>Operating System: Ubuntu 16.04<\/li>\n<li>Deployment Method: snap (stable)<\/li>\n<li>Http frontend if any: Apache 2.4<\/li>\n<li>ROOT_URL environment variable:\u00a0<a href=\"https:\/\/my-domain.com\/kan\" rel=\"nofollow\">https:\/\/my-domain.com\/kan<\/a><\/li>\n<\/ul>\n<p><strong>Problem description<\/strong>:<br \/>\n<a href=\"http:\/\/mummila.net\/kommentit\/files\/2019\/05\/Peek-2019-05-20-17-26.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mummila.net\/kommentit\/files\/2019\/05\/Peek-2019-05-20-17-26.gif\" alt=\"\" width=\"673\" height=\"886\" class=\"aligncenter size-full wp-image-6081\" \/><\/a><\/p>\n<p><em><strong>Steps to reproduce<\/strong><\/em><\/p>\n<ol>\n<li>Have a card with a checklist with 4 (or more) items with contents A, B, C, D (and so on):<\/li>\n<li>Select item A with LBM<\/li>\n<li>Select item B with LBM<\/li>\n<li>Select item C with LBM<\/li>\n<li>Select item D with LBM<\/li>\n<\/ol>\n<p><em><strong>What happens<\/strong><\/em><br \/>\nAt step 4, when C opens for editing, B remains in edit mode. At step 5, contents of C are overwritten by contents of B (that is, &#8221;C&#8221; becomes a &#8221;B&#8221;).<\/p>\n<p><em><strong>What I expect to happen<\/strong><\/em><br \/>\nAt step 4, for B to leave edit mode, and at step 5, the contents of C to remain as they are.<\/p>\n<p><em><strong>Other notes<\/strong><\/em><\/p>\n<ul>\n<li>Reproducible in both Chrome and Firefox.<\/li>\n<li>Curiously, this does not seem to affect the firstly selected item: in step 3 above, A leaves edit mode correctly and thus B doesn&#8217;t get overwritten by the contents of item A in step 4.<\/li>\n<li>At step 5, instead of selecting item D, pressing enter has the same effect.<\/li>\n<\/ul>\n<p><strong>Browser console output<\/strong><br \/>\nempty<\/p>\n<p><strong>snap logs wekan.wekan<\/strong><br \/>\nnothing related<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Selecting another item for editing does not take the previous item out of edit mode, and selecting a third item overwrites the second.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[11987,546,14051,14042],"class_list":["post-6079","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-chrome","tag-firefox","tag-snap","tag-wekan","sijainti-github"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=6079"}],"version-history":[{"count":1,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6079\/revisions"}],"predecessor-version":[{"id":6082,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6079\/revisions\/6082"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=6079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=6079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=6079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}