{"action":"created","issue":{"url":"https://api.github.com/repos/plone/Products.CMFEditions/issues/28","labels_url":"https://api.github.com/repos/plone/Products.CMFEditions/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/plone/Products.CMFEditions/issues/28/comments","events_url":"https://api.github.com/repos/plone/Products.CMFEditions/issues/28/events","html_url":"https://github.com/plone/Products.CMFEditions/issues/28","id":89363349,"number":28,"title":"Versioning of content with persistent tiles with blobs breaks the storage","user":{"login":"hvelarde","id":341393,"avatar_url":"https://avatars.githubusercontent.com/u/341393?v=3","gravatar_id":"","url":"https://api.github.com/users/hvelarde","html_url":"https://github.com/hvelarde","followers_url":"https://api.github.com/users/hvelarde/followers","following_url":"https://api.github.com/users/hvelarde/following{/other_user}","gists_url":"https://api.github.com/users/hvelarde/gists{/gist_id}","starred_url":"https://api.github.com/users/hvelarde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvelarde/subscriptions","organizations_url":"https://api.github.com/users/hvelarde/orgs","repos_url":"https://api.github.com/users/hvelarde/repos","events_url":"https://api.github.com/users/hvelarde/events{/privacy}","received_events_url":"https://api.github.com/users/hvelarde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-06-18T18:25:49Z","updated_at":"2015-06-30T06:53:01Z","closed_at":null,"body":"As @datakurre has documented in https://github.com/plone/plone.app.mosaic/issues/80, each version of a content object with persistent tiles with blobs, will create a new empty blob into file system for each found blob and I will also break the storage as you can see in the following image:\r\n\r\n![selection_002](https://cloud.githubusercontent.com/assets/341393/8238781/234817bc-15ce-11e5-9d9e-bd7df836e619.png)\r\n\r\nYou can see that the portal type and path information is repeated in all objects; this happens because querying the versioned object fails with an exception in [ZVCStorageTool.py#L668](https://github.com/plone/Products.CMFEditions/blob/master/Products/CMFEditions/ZVCStorageTool.py#L668):\r\n\r\n```\r\n------\r\n2015-06-16T14:49:19 ERROR CMFUid ASSERT: 52004 objects have 134 as uid!!!\r\n------\r\n2015-06-16T14:49:19 ERROR CMFUid ASSERT: 52004 objects have 135 as uid!!!\r\n------\r\n2015-06-16T14:49:19 ERROR CMFUid ASSERT: 52004 objects have 137 as uid!!!\r\n------\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/plone/Products.CMFEditions/issues/comments/117023093","html_url":"https://github.com/plone/Products.CMFEditions/issues/28#issuecomment-117023093","issue_url":"https://api.github.com/repos/plone/Products.CMFEditions/issues/28","id":117023093,"user":{"login":"datakurre","id":160447,"avatar_url":"https://avatars.githubusercontent.com/u/160447?v=3","gravatar_id":"","url":"https://api.github.com/users/datakurre","html_url":"https://github.com/datakurre","followers_url":"https://api.github.com/users/datakurre/followers","following_url":"https://api.github.com/users/datakurre/following{/other_user}","gists_url":"https://api.github.com/users/datakurre/gists{/gist_id}","starred_url":"https://api.github.com/users/datakurre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datakurre/subscriptions","organizations_url":"https://api.github.com/users/datakurre/orgs","repos_url":"https://api.github.com/users/datakurre/repos","events_url":"https://api.github.com/users/datakurre/events{/privacy}","received_events_url":"https://api.github.com/users/datakurre/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T06:53:01Z","updated_at":"2015-06-30T06:53:01Z","body":"@cguardia I did not test that with cover, but with Mosaic persistent image tile, which otherwise does the same (stores blobs in persistent dicts in annotations, causing zero size blobs in versioning)."}}