{"action":"created","issue":{"url":"https://api.github.com/repos/reTHINK-project/dev-service-framework/issues/50","repository_url":"https://api.github.com/repos/reTHINK-project/dev-service-framework","labels_url":"https://api.github.com/repos/reTHINK-project/dev-service-framework/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/reTHINK-project/dev-service-framework/issues/50/comments","events_url":"https://api.github.com/repos/reTHINK-project/dev-service-framework/issues/50/events","html_url":"https://github.com/reTHINK-project/dev-service-framework/issues/50","id":162489876,"number":50,"title":"RuntimeCatalog.js choosing wrong runtime","user":{"login":"KCorre","id":10709934,"avatar_url":"https://avatars.githubusercontent.com/u/10709934?v=3","gravatar_id":"","url":"https://api.github.com/users/KCorre","html_url":"https://github.com/KCorre","followers_url":"https://api.github.com/users/KCorre/followers","following_url":"https://api.github.com/users/KCorre/following{/other_user}","gists_url":"https://api.github.com/users/KCorre/gists{/gist_id}","starred_url":"https://api.github.com/users/KCorre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KCorre/subscriptions","organizations_url":"https://api.github.com/users/KCorre/orgs","repos_url":"https://api.github.com/users/KCorre/repos","events_url":"https://api.github.com/users/KCorre/events{/privacy}","received_events_url":"https://api.github.com/users/KCorre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-27T16:11:01Z","updated_at":"2016-07-20T15:01:45Z","closed_at":"2016-07-20T14:57:30Z","body":"During Hyperty runtime instantiation, RuntimeCatalog.js use the saved runtime, while it should not. \r\n\r\n**What is happening:** \r\nHyperty Catalog did not have a \"default\" runtime. So instead it was serving the first runtime as \"default\". This runtime had cguid 49... and version 1. \r\nUpdate on catalog added a new runtime, set as default with cguid 30002 and version 1. \r\n\r\nRequest.js:53 looks for default version\r\n```\r\nget https://catalogue.powercommunication.rethink.orange-labs.fr/.well-known/runtime/default\r\n```\r\nRuntimeCatalog.js:29 load unexpected runtime\r\n```\r\nreturning saved version: Object {cguid: 49816518489165, runtimeType: \"browser\", version: 1, objectName: \"FirstRuntime\", description: \"This is a hyperty runtime descriptor\"…} [...]\r\n```\r\n\r\n**What shoud have happened**\r\nRuntimeCatalog.js should see that runtime/default changed cguid instead of only comparing version number. \r\n\r\n**Note**\r\nOther instance had core.js:5:13989 returning the saved runtime, instead of RuntimeCatalog.js:29. This is probably due to compilation of RuntimeCatalog.js into core.js. But I'm mentionning it anyway. "},"comment":{"url":"https://api.github.com/repos/reTHINK-project/dev-service-framework/issues/comments/233976867","html_url":"https://github.com/reTHINK-project/dev-service-framework/issues/50#issuecomment-233976867","issue_url":"https://api.github.com/repos/reTHINK-project/dev-service-framework/issues/50","id":233976867,"user":{"login":"jboulmal","id":15377466,"avatar_url":"https://avatars.githubusercontent.com/u/15377466?v=3","gravatar_id":"","url":"https://api.github.com/users/jboulmal","html_url":"https://github.com/jboulmal","followers_url":"https://api.github.com/users/jboulmal/followers","following_url":"https://api.github.com/users/jboulmal/following{/other_user}","gists_url":"https://api.github.com/users/jboulmal/gists{/gist_id}","starred_url":"https://api.github.com/users/jboulmal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jboulmal/subscriptions","organizations_url":"https://api.github.com/users/jboulmal/orgs","repos_url":"https://api.github.com/users/jboulmal/repos","events_url":"https://api.github.com/users/jboulmal/events{/privacy}","received_events_url":"https://api.github.com/users/jboulmal/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T15:01:45Z","updated_at":"2016-07-20T15:01:45Z","body":"Ok"}}
{"actor":{"display_login":"jboulmal"}}