{"action":"created","issue":{"url":"https://api.github.com/repos/Tangerine-Community/Tangerine/issues/1031","repository_url":"https://api.github.com/repos/Tangerine-Community/Tangerine","labels_url":"https://api.github.com/repos/Tangerine-Community/Tangerine/issues/1031/labels{/name}","comments_url":"https://api.github.com/repos/Tangerine-Community/Tangerine/issues/1031/comments","events_url":"https://api.github.com/repos/Tangerine-Community/Tangerine/issues/1031/events","html_url":"https://github.com/Tangerine-Community/Tangerine/issues/1031","id":349000799,"node_id":"MDU6SXNzdWUzNDkwMDA3OTk=","number":1031,"title":"Clicking back button triggers Saving of the form","user":{"login":"lachko","id":453000,"node_id":"MDQ6VXNlcjQ1MzAwMA==","avatar_url":"https://avatars1.githubusercontent.com/u/453000?v=4","gravatar_id":"","url":"https://api.github.com/users/lachko","html_url":"https://github.com/lachko","followers_url":"https://api.github.com/users/lachko/followers","following_url":"https://api.github.com/users/lachko/following{/other_user}","gists_url":"https://api.github.com/users/lachko/gists{/gist_id}","starred_url":"https://api.github.com/users/lachko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lachko/subscriptions","organizations_url":"https://api.github.com/users/lachko/orgs","repos_url":"https://api.github.com/users/lachko/repos","events_url":"https://api.github.com/users/lachko/events{/privacy}","received_events_url":"https://api.github.com/users/lachko/received_events","type":"User","site_admin":false},"labels":[{"id":325349610,"node_id":"MDU6TGFiZWwzMjUzNDk2MTA=","url":"https://api.github.com/repos/Tangerine-Community/Tangerine/labels/bug","name":"bug","color":"FFFFFF","default":true},{"id":870352173,"node_id":"MDU6TGFiZWw4NzAzNTIxNzM=","url":"https://api.github.com/repos/Tangerine-Community/Tangerine/labels/critical","name":"critical","color":"7ce2ba","default":false},{"id":373239446,"node_id":"MDU6TGFiZWwzNzMyMzk0NDY=","url":"https://api.github.com/repos/Tangerine-Community/Tangerine/labels/ready","name":"ready","color":"0e8a16","default":false},{"id":522640667,"node_id":"MDU6TGFiZWw1MjI2NDA2Njc=","url":"https://api.github.com/repos/Tangerine-Community/Tangerine/labels/v3.x.x","name":"v3.x.x","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-09T06:56:18Z","updated_at":"2018-08-20T14:32:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"If there are two users, User A has Form X open. User B modifies Form X item 1 then saves Item 1. \nUser A still has form X open they open any item on this form and click the back button - no saving at any point. Now when user B opens the form his work is lost\n\nThe issue here is that even if the first user didn't save the form somehow the content is overwritten by them. I see that clicking the back button triggers a save in the network tab"},"comment":{"url":"https://api.github.com/repos/Tangerine-Community/Tangerine/issues/comments/414337202","html_url":"https://github.com/Tangerine-Community/Tangerine/issues/1031#issuecomment-414337202","issue_url":"https://api.github.com/repos/Tangerine-Community/Tangerine/issues/1031","id":414337202,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDMzNzIwMg==","user":{"login":"rjsteinert","id":156575,"node_id":"MDQ6VXNlcjE1NjU3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/156575?v=4","gravatar_id":"","url":"https://api.github.com/users/rjsteinert","html_url":"https://github.com/rjsteinert","followers_url":"https://api.github.com/users/rjsteinert/followers","following_url":"https://api.github.com/users/rjsteinert/following{/other_user}","gists_url":"https://api.github.com/users/rjsteinert/gists{/gist_id}","starred_url":"https://api.github.com/users/rjsteinert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjsteinert/subscriptions","organizations_url":"https://api.github.com/users/rjsteinert/orgs","repos_url":"https://api.github.com/users/rjsteinert/repos","events_url":"https://api.github.com/users/rjsteinert/events{/privacy}","received_events_url":"https://api.github.com/users/rjsteinert/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T14:32:59Z","updated_at":"2018-08-20T14:32:59Z","author_association":"CONTRIBUTOR","body":"Clicking cancel and then seeing that tangerine saved the form was due to the fact that the `tangy-form-editor` element would dispatch a change event even when nothing had actually changed. As of tangy-form-editor@4.4.2, it now only dispatches a change event when a user clicks a save button. This will cut down on the number of opportunities that two users using the editor on the same form will overwrite the other's work but it still doesn't solve the issue that if two editors are editing items at the same time, if editor A saves item 1 and then editor B saves item 2, item 1 will be reverted to the state before editor A's save of item 1."}}
{"actor":{"display_login":"rjsteinert"}}