{"action":"created","issue":{"url":"https://api.github.com/repos/tsgrp/HPI/issues/1207","repository_url":"https://api.github.com/repos/tsgrp/HPI","labels_url":"https://api.github.com/repos/tsgrp/HPI/issues/1207/labels{/name}","comments_url":"https://api.github.com/repos/tsgrp/HPI/issues/1207/comments","events_url":"https://api.github.com/repos/tsgrp/HPI/issues/1207/events","html_url":"https://github.com/tsgrp/HPI/issues/1207","id":182550548,"number":1207,"title":"HPI configs no longer portable to other Alfresco environments","user":{"login":"mikeblum","id":3905463,"avatar_url":"https://avatars.githubusercontent.com/u/3905463?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeblum","html_url":"https://github.com/mikeblum","followers_url":"https://api.github.com/users/mikeblum/followers","following_url":"https://api.github.com/users/mikeblum/following{/other_user}","gists_url":"https://api.github.com/users/mikeblum/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeblum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeblum/subscriptions","organizations_url":"https://api.github.com/users/mikeblum/orgs","repos_url":"https://api.github.com/users/mikeblum/repos","events_url":"https://api.github.com/users/mikeblum/events{/privacy}","received_events_url":"https://api.github.com/users/mikeblum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tsgrp/HPI/labels/Alfresco","name":"Alfresco","color":"009800"},{"url":"https://api.github.com/repos/tsgrp/HPI/labels/New%20Hire","name":"New Hire","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/tsgrp/HPI/milestones/8","html_url":"https://github.com/tsgrp/HPI/milestones/HPI%202.5","labels_url":"https://api.github.com/repos/tsgrp/HPI/milestones/8/labels","id":1435542,"number":8,"title":"HPI 2.5","description":"Items tagged with the HPI 2.5 milestone must be fixed for the HPI 2.5 release","creator":{"login":"gsteimer","id":1377228,"avatar_url":"https://avatars.githubusercontent.com/u/1377228?v=3","gravatar_id":"","url":"https://api.github.com/users/gsteimer","html_url":"https://github.com/gsteimer","followers_url":"https://api.github.com/users/gsteimer/followers","following_url":"https://api.github.com/users/gsteimer/following{/other_user}","gists_url":"https://api.github.com/users/gsteimer/gists{/gist_id}","starred_url":"https://api.github.com/users/gsteimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsteimer/subscriptions","organizations_url":"https://api.github.com/users/gsteimer/orgs","repos_url":"https://api.github.com/users/gsteimer/repos","events_url":"https://api.github.com/users/gsteimer/events{/privacy}","received_events_url":"https://api.github.com/users/gsteimer/received_events","type":"User","site_admin":false},"open_issues":94,"closed_issues":127,"state":"open","created_at":"2015-11-30T16:05:38Z","updated_at":"2016-10-12T15:05:11Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-10-12T15:05:11Z","updated_at":"2016-10-12T15:08:19Z","closed_at":null,"body":"Currently on edge2, HPI configs contain a reference to its edge2 nodeRef:\r\n\r\n\"id\":\"workspace://SpacesStore/0cccb221-9d29-4fbb-9354-d5c52063a13d\"\r\n\r\nwithin the JSON of the config. This affects Application config (easiest to replicate) as well as other configs like Stage and Search.\r\n\r\nThis might also be an issue for DCTM since Backbone looks to the id attribute in its JSON to preform a save.\r\n\r\nerror trace:\r\n\r\n```javascript\r\n\"Error creating config object: org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/d29aad65-c0f1-4de9-a97c-98f2e12f7669 (status:null)\r\n\r\n{\"status\":500,\"message\":\"Error creating config object: org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/d29aad65-c0f1-4de9-a97c-98f2e12f7669 (status:null)\\n\\tat org.alfresco.repo.node.db.DbNodeServiceImpl.getNodePairNotNull(DbNodeServiceImpl.java:182)\r\n```\r\n\r\nIf your configs are affected, you'll find the nodeRef in the JSON of your configs. The simple fix right now is to remove the id attribute from the JSON and version the config.\r\n"},"comment":{"url":"https://api.github.com/repos/tsgrp/HPI/issues/comments/253241208","html_url":"https://github.com/tsgrp/HPI/issues/1207#issuecomment-253241208","issue_url":"https://api.github.com/repos/tsgrp/HPI/issues/1207","id":253241208,"user":{"login":"gsteimer","id":1377228,"avatar_url":"https://avatars.githubusercontent.com/u/1377228?v=3","gravatar_id":"","url":"https://api.github.com/users/gsteimer","html_url":"https://github.com/gsteimer","followers_url":"https://api.github.com/users/gsteimer/followers","following_url":"https://api.github.com/users/gsteimer/following{/other_user}","gists_url":"https://api.github.com/users/gsteimer/gists{/gist_id}","starred_url":"https://api.github.com/users/gsteimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsteimer/subscriptions","organizations_url":"https://api.github.com/users/gsteimer/orgs","repos_url":"https://api.github.com/users/gsteimer/repos","events_url":"https://api.github.com/users/gsteimer/events{/privacy}","received_events_url":"https://api.github.com/users/gsteimer/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T15:08:19Z","updated_at":"2016-10-12T15:08:19Z","body":"I feel like this was always in there, but we were still always able to port configs.  Did something change recently in the save?  I've always assumed that the ID was updated to the new repo value the first time it was saved. \r\n\r\nFor Documentum, this would be an issue even without moving configs, since the ID changes on every version.  However, saving app config on edge1 works fine..."}}
{"actor":{"display_login":"gsteimer"}}