{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/client/issues/5037","repository_url":"https://api.github.com/repos/owncloud/client","labels_url":"https://api.github.com/repos/owncloud/client/issues/5037/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/client/issues/5037/comments","events_url":"https://api.github.com/repos/owncloud/client/issues/5037/events","html_url":"https://github.com/owncloud/client/issues/5037","id":164071842,"number":5037,"title":"Sync conflicts for a single user, maybe due folder renaming","user":{"login":"mibadim","id":5670523,"avatar_url":"https://avatars.githubusercontent.com/u/5670523?v=3","gravatar_id":"","url":"https://api.github.com/users/mibadim","html_url":"https://github.com/mibadim","followers_url":"https://api.github.com/users/mibadim/followers","following_url":"https://api.github.com/users/mibadim/following{/other_user}","gists_url":"https://api.github.com/users/mibadim/gists{/gist_id}","starred_url":"https://api.github.com/users/mibadim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mibadim/subscriptions","organizations_url":"https://api.github.com/users/mibadim/orgs","repos_url":"https://api.github.com/users/mibadim/repos","events_url":"https://api.github.com/users/mibadim/events{/privacy}","received_events_url":"https://api.github.com/users/mibadim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/client/labels/Server%20Involved","name":"Server Involved","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-06T13:10:24Z","updated_at":"2016-07-06T15:47:49Z","closed_at":null,"body":"### Expected behaviour\r\nWhen being the only user signed up on the server, there should happen any sync conflicts and therefore no `*_conflict` files being produced at all.\r\n\r\n### Actual behaviour\r\nSometimes, I suddenly get lots of sync conflicts. This way ownCloud periodically messes up my projects. This is annoying.\r\n\r\n### Steps to reproduce\r\nI was not able to reproduce it. However, the last time it appeared I renamed a Java package `some_package` to `somePackage` and let my IDE update all references. One day later, I suddenly got lots of `_conflict` files. In the (new) folder `somePackage`:\r\n```\r\n$ ls\r\nDegreeHeap.java\r\nDegreeHeapTest.java\r\nGraphFinderThread.java\r\nGraphGUI.java\r\nInfoPanel.java\r\nParamsFromGUI.java\r\nRanking.java\r\nSideBar_conflict-20160705-123900.java\r\nSideBar.java\r\nSnakeGraph.java\r\nstyle.css\r\nstyle.css~\r\nThreadManager_conflict-20160702-113919.java\r\nThreadManager.java\r\nVisualGraph.java\r\nWorstGraphFinder_conflict-20160705-120808.java\r\nWorstGraphFinder.java\r\n```\r\nAnd -- most interesting -- the old version of a conflict file is now in the renamed folder `somePackage`, but still including with a reference to the old package `some_package`:\r\n```\r\n$ head ThreadManager.java \r\npackage some_package; \r\n\r\nimport ...\r\n```\r\nwhile the `_conflict` file seems to be the -- correct -- latest version:\r\n```\r\n$ head ThreadManager_conflict-20160702-113919.java \r\npackage somePackage;\r\n```\r\nHere, `somePackage` is the only folder affected by that behaviour.\r\n\r\n### Server configuration\r\nOperating system: Debian 8\r\n\r\nWeb server: Apache 2.4.10\r\n\r\nDatabase: 5.5.46-0+deb7u1\r\n\r\nPHP version: 5.6.20-0+deb8u1\r\n\r\nownCloud version: 8.1.8-12.1\r\n\r\nStorage backend:\r\n\r\n### Client configuration\r\nClient version: 2.2.2-18.1\r\n\r\nOperating system: Debian 8\r\n\r\nOS language: German\r\n\r\nInstallation path of client:\r\n\r\n`/usr/bin/`\r\n### Logs\r\n\r\nPlease use Gist (https://gist.github.com/) or a similar code paster for longer\r\nlogs.\r\n\r\n```Template for output < 10 lines```\r\n\r\n1. Output of `owncloud --logwindow` or `owncloud --logfile log.txt`\r\n\r\nsee [here](https://gist.github.com/mibadim/4e877fc5ce62b23933001e0a909432e1#file-gistfile1-txt)\r\n2. Web server error log: \r\n\r\n(nothing suspicious)\r\n\r\n3. ownCloud log (data/owncloud.log):\r\n\r\n(could not find this file, sorry!)\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/client/issues/comments/230814250","html_url":"https://github.com/owncloud/client/issues/5037#issuecomment-230814250","issue_url":"https://api.github.com/repos/owncloud/client/issues/5037","id":230814250,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T15:47:49Z","updated_at":"2016-07-06T15:47:49Z","body":"A single user can still have multiple clients.\r\n\r\nI have a single account on my ownCloud but sometimes I edit files offline on two different devices (not realizing I was offline) and later on it produces expected conflicts."}}
{"actor":{"display_login":"PVince81"}}