{"action":"created","issue":{"url":"https://api.github.com/repos/gdbots/pbjc-php/issues/31","repository_url":"https://api.github.com/repos/gdbots/pbjc-php","labels_url":"https://api.github.com/repos/gdbots/pbjc-php/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/gdbots/pbjc-php/issues/31/comments","events_url":"https://api.github.com/repos/gdbots/pbjc-php/issues/31/events","html_url":"https://github.com/gdbots/pbjc-php/issues/31","id":166973868,"number":31,"title":"BUG :: Unable to change default on overridden field","user":{"login":"gdbrown","id":3344831,"avatar_url":"https://avatars.githubusercontent.com/u/3344831?v=3","gravatar_id":"","url":"https://api.github.com/users/gdbrown","html_url":"https://github.com/gdbrown","followers_url":"https://api.github.com/users/gdbrown/followers","following_url":"https://api.github.com/users/gdbrown/following{/other_user}","gists_url":"https://api.github.com/users/gdbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/gdbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdbrown/subscriptions","organizations_url":"https://api.github.com/users/gdbrown/orgs","repos_url":"https://api.github.com/users/gdbrown/repos","events_url":"https://api.github.com/users/gdbrown/events{/privacy}","received_events_url":"https://api.github.com/users/gdbrown/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gdbots/pbjc-php/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"gdbrown","id":3344831,"avatar_url":"https://avatars.githubusercontent.com/u/3344831?v=3","gravatar_id":"","url":"https://api.github.com/users/gdbrown","html_url":"https://github.com/gdbrown","followers_url":"https://api.github.com/users/gdbrown/followers","following_url":"https://api.github.com/users/gdbrown/following{/other_user}","gists_url":"https://api.github.com/users/gdbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/gdbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdbrown/subscriptions","organizations_url":"https://api.github.com/users/gdbrown/orgs","repos_url":"https://api.github.com/users/gdbrown/repos","events_url":"https://api.github.com/users/gdbrown/events{/privacy}","received_events_url":"https://api.github.com/users/gdbrown/received_events","type":"User","site_admin":false},"assignees":[{"login":"gdbrown","id":3344831,"avatar_url":"https://avatars.githubusercontent.com/u/3344831?v=3","gravatar_id":"","url":"https://api.github.com/users/gdbrown","html_url":"https://github.com/gdbrown","followers_url":"https://api.github.com/users/gdbrown/followers","following_url":"https://api.github.com/users/gdbrown/following{/other_user}","gists_url":"https://api.github.com/users/gdbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/gdbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdbrown/subscriptions","organizations_url":"https://api.github.com/users/gdbrown/orgs","repos_url":"https://api.github.com/users/gdbrown/repos","events_url":"https://api.github.com/users/gdbrown/events{/privacy}","received_events_url":"https://api.github.com/users/gdbrown/received_events","type":"User","site_admin":false},{"login":"excelwebzone","id":4467438,"avatar_url":"https://avatars.githubusercontent.com/u/4467438?v=3","gravatar_id":"","url":"https://api.github.com/users/excelwebzone","html_url":"https://github.com/excelwebzone","followers_url":"https://api.github.com/users/excelwebzone/followers","following_url":"https://api.github.com/users/excelwebzone/following{/other_user}","gists_url":"https://api.github.com/users/excelwebzone/gists{/gist_id}","starred_url":"https://api.github.com/users/excelwebzone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excelwebzone/subscriptions","organizations_url":"https://api.github.com/users/excelwebzone/orgs","repos_url":"https://api.github.com/users/excelwebzone/repos","events_url":"https://api.github.com/users/excelwebzone/events{/privacy}","received_events_url":"https://api.github.com/users/excelwebzone/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-07-22T05:40:20Z","updated_at":"2016-07-22T16:03:14Z","closed_at":null,"body":"Error: The schema \"pbj:eme:solicits:edge:submissions:1-0-0\" field \"default\" is invalid. See inherited mixin fields.\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\r\n<pbj-schema xmlns=\"http://gdbots.io/pbj/xsd\"\r\n    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n    xsi:schemaLocation=\"http://gdbots.io/pbj/xsd http://gdbots.io/pbj/xsd/schema.xsd\">\r\n\r\n  <!--\r\n    This edge helps answer these questions:\r\n    + What submissions have we received for solicit ABC?\r\n    + What submissions has user XYZ sent to us?\r\n  -->\r\n  <schema id=\"pbj:eme:solicits:edge:submissions:1-0-0\">\r\n    <fields>\r\n      <field name=\"multiplicity\" type=\"string-enum\">\r\n        <default>multi</default> <!-- only works with parent default -->\r\n        <!--\r\n        <default>one2many</default><!-- should work -->\r\n        -->\r\n        <enum id=\"gdbots:ncr:edge-multiplicity\"/>\r\n      </field>\r\n    </fields>\r\n\r\n    <mixins>\r\n      <curie-major>gdbots:ncr:mixin:edge:v1</curie-major>\r\n    </mixins>\r\n\r\n  </schema>\r\n</pbj-schema>\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/gdbots/pbjc-php/issues/comments/234584609","html_url":"https://github.com/gdbots/pbjc-php/issues/31#issuecomment-234584609","issue_url":"https://api.github.com/repos/gdbots/pbjc-php/issues/31","id":234584609,"user":{"login":"gdbrown","id":3344831,"avatar_url":"https://avatars.githubusercontent.com/u/3344831?v=3","gravatar_id":"","url":"https://api.github.com/users/gdbrown","html_url":"https://github.com/gdbrown","followers_url":"https://api.github.com/users/gdbrown/followers","following_url":"https://api.github.com/users/gdbrown/following{/other_user}","gists_url":"https://api.github.com/users/gdbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/gdbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdbrown/subscriptions","organizations_url":"https://api.github.com/users/gdbrown/orgs","repos_url":"https://api.github.com/users/gdbrown/repos","events_url":"https://api.github.com/users/gdbrown/events{/privacy}","received_events_url":"https://api.github.com/users/gdbrown/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T16:03:14Z","updated_at":"2016-07-22T16:03:14Z","body":"this error is backwards... \"    The schema \"pbj:eme:solicits:edge:submissions:1-0-0\" field \"one2many11\" enum value \"multiplicity\" doesn't exists. Check enum \"gdbots:ncr:edge-multiplicity\" for all existing values.    \r\n\"\r\n\r\nshould be:\r\n\r\n\"    The schema \"pbj:eme:solicits:edge:submissions:1-0-0\" field \"multiplicity\" enum value \"one2many11\" doesn't exist. Check enum \"gdbots:ncr:edge-multiplicity\" for all existing values.    \r\n\""}}
{"actor":{"display_login":"gdbrown"}}