{"action":"created","issue":{"url":"https://api.github.com/repos/karelia/BSManagedDocument/issues/45","labels_url":"https://api.github.com/repos/karelia/BSManagedDocument/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/karelia/BSManagedDocument/issues/45/comments","events_url":"https://api.github.com/repos/karelia/BSManagedDocument/issues/45/events","html_url":"https://github.com/karelia/BSManagedDocument/issues/45","id":124283296,"number":45,"title":"File > Duplicate does not copy Additional Content into new document package","user":{"login":"jerrykrinock","id":951958,"avatar_url":"https://avatars.githubusercontent.com/u/951958?v=3","gravatar_id":"","url":"https://api.github.com/users/jerrykrinock","html_url":"https://github.com/jerrykrinock","followers_url":"https://api.github.com/users/jerrykrinock/followers","following_url":"https://api.github.com/users/jerrykrinock/following{/other_user}","gists_url":"https://api.github.com/users/jerrykrinock/gists{/gist_id}","starred_url":"https://api.github.com/users/jerrykrinock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerrykrinock/subscriptions","organizations_url":"https://api.github.com/users/jerrykrinock/orgs","repos_url":"https://api.github.com/users/jerrykrinock/repos","events_url":"https://api.github.com/users/jerrykrinock/events{/privacy}","received_events_url":"https://api.github.com/users/jerrykrinock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-29T23:38:25Z","updated_at":"2015-12-29T23:43:21Z","closed_at":null,"body":"When you duplicate a new document by clicking in the menu File > Duplicate, the newly-created document package does not contain copies of the so-called *additional content* files from the original document package.  It seems to me that it should; at least, I need that in an app I'm now working on.  Does karelia agree?  Would karelia want a pull request if I could fix this?\r\n\r\nJust to be clear, here are the exact Steps To Reproduce.\r\n\r\n1. Build and launch the BSTest application.\r\n2. Save the new document which opens as Document1.bstest.\r\n3. Quit BSTest.\r\n4. Run Finder.\r\n5. Navigate to Document1.bstest and *Show Package Contents*.\r\n6. Create a text file, test.txt, and save it inside the Document1.bstest package.\r\n7. Relaunch BSTest.\r\n8. Reopen Document1.bstest.\r\n9. Click in the menu: File > Duplicate.  A new document appears.\r\n10. Click in the menu: File > Save.\r\n11. Save this new docu,ent as Document2.bstest.\r\n12. Run Finder.\r\n13. Navigate to Document2.bstest and \"Show Package Contents\".\r\n\r\nExpected Result:  Document2.btest package should contain a copy of test.txt.\r\nActual Result: Document2.btest package contains only StoreContent.\r\n"},"comment":{"url":"https://api.github.com/repos/karelia/BSManagedDocument/issues/comments/167900744","html_url":"https://github.com/karelia/BSManagedDocument/issues/45#issuecomment-167900744","issue_url":"https://api.github.com/repos/karelia/BSManagedDocument/issues/45","id":167900744,"user":{"login":"mikeabdullah","id":165011,"avatar_url":"https://avatars.githubusercontent.com/u/165011?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeabdullah","html_url":"https://github.com/mikeabdullah","followers_url":"https://api.github.com/users/mikeabdullah/followers","following_url":"https://api.github.com/users/mikeabdullah/following{/other_user}","gists_url":"https://api.github.com/users/mikeabdullah/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeabdullah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeabdullah/subscriptions","organizations_url":"https://api.github.com/users/mikeabdullah/orgs","repos_url":"https://api.github.com/users/mikeabdullah/repos","events_url":"https://api.github.com/users/mikeabdullah/events{/privacy}","received_events_url":"https://api.github.com/users/mikeabdullah/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T23:43:20Z","updated_at":"2015-12-29T23:43:20Z","body":"Hi Jerry, do I understand you're talking in step 6 about modifying the package manually, rather than having code in your document subclass that does it?"}}