{"action":"created","issue":{"url":"https://api.github.com/repos/TWCable/grabbit/issues/3","repository_url":"https://api.github.com/repos/TWCable/grabbit","labels_url":"https://api.github.com/repos/TWCable/grabbit/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/TWCable/grabbit/issues/3/comments","events_url":"https://api.github.com/repos/TWCable/grabbit/issues/3/events","html_url":"https://github.com/TWCable/grabbit/issues/3","id":60562797,"number":3,"title":"Handle case where a mixin is sent by server by cannot be added on the client","user":{"login":"jazeren1","id":3155019,"avatar_url":"https://avatars.githubusercontent.com/u/3155019?v=3","gravatar_id":"","url":"https://api.github.com/users/jazeren1","html_url":"https://github.com/jazeren1","followers_url":"https://api.github.com/users/jazeren1/followers","following_url":"https://api.github.com/users/jazeren1/following{/other_user}","gists_url":"https://api.github.com/users/jazeren1/gists{/gist_id}","starred_url":"https://api.github.com/users/jazeren1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazeren1/subscriptions","organizations_url":"https://api.github.com/users/jazeren1/orgs","repos_url":"https://api.github.com/users/jazeren1/repos","events_url":"https://api.github.com/users/jazeren1/events{/privacy}","received_events_url":"https://api.github.com/users/jazeren1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TWCable/grabbit/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/TWCable/grabbit/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-03-10T20:22:24Z","updated_at":"2016-07-20T12:14:50Z","closed_at":null,"body":"Encountered exception is as follows (on the client)\r\n\r\n```\r\n02.02.2015 22:08:07.101 [clientJobLauncherTaskExecutor-3] com.twcable.grabbit.client.batch.steps.jcrnodes.JcrNodesWriter *INFO* Encountered invalid mixin type while unmarshalling for Proto values : value {\r\n  stringValue: \"mix:versionable\"\r\n}\r\n\r\n02.02.2015 22:08:07.102 [clientJobLauncherTaskExecutor-3] com.twcable.grabbit.client.batch.steps.jcrnodes.JcrNodesWriter *INFO* Encountered invalid mixin type while unmarshalling for Proto values : value {\r\n  stringValue: \"mix:lockable\"\r\n}\r\n\r\n02.02.2015 22:08:07.103 [clientJobLauncherTaskExecutor-3] com.twcable.grabbit.client.batch.steps.jcrnodes.JcrNodesWriter *ERROR* Exception writing JCR Nodes to current JCR Session : session-admin-334713.  javax.jcr.version.VersionException: Unable to perform operation. Node is checked-in.\r\n\tat org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:284)\r\n\tat org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:248)\r\n```\r\n\r\nFor starters, may be look at how filevault does it : https://github.com/apache/jackrabbit-filevault/blob/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/io/ImportInfoImpl.java#L228-L234 (using node.checkIn() )"},"comment":{"url":"https://api.github.com/repos/TWCable/grabbit/issues/comments/233932007","html_url":"https://github.com/TWCable/grabbit/issues/3#issuecomment-233932007","issue_url":"https://api.github.com/repos/TWCable/grabbit/issues/3","id":233932007,"user":{"login":"viveksachdeva","id":1879953,"avatar_url":"https://avatars.githubusercontent.com/u/1879953?v=3","gravatar_id":"","url":"https://api.github.com/users/viveksachdeva","html_url":"https://github.com/viveksachdeva","followers_url":"https://api.github.com/users/viveksachdeva/followers","following_url":"https://api.github.com/users/viveksachdeva/following{/other_user}","gists_url":"https://api.github.com/users/viveksachdeva/gists{/gist_id}","starred_url":"https://api.github.com/users/viveksachdeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viveksachdeva/subscriptions","organizations_url":"https://api.github.com/users/viveksachdeva/orgs","repos_url":"https://api.github.com/users/viveksachdeva/repos","events_url":"https://api.github.com/users/viveksachdeva/events{/privacy}","received_events_url":"https://api.github.com/users/viveksachdeva/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T12:14:50Z","updated_at":"2016-07-20T12:14:50Z","body":"@jazeren1 @jdigger : Are there some specific steps to reproduce this issue...I tried copying nodes with mixins lockable and versionable and I did not get any error.."}}
{"actor":{"display_login":"viveksachdeva"}}