{"action":"created","issue":{"url":"https://api.github.com/repos/zenoss/zenpacklib/issues/104","labels_url":"https://api.github.com/repos/zenoss/zenpacklib/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/zenoss/zenpacklib/issues/104/comments","events_url":"https://api.github.com/repos/zenoss/zenpacklib/issues/104/events","html_url":"https://github.com/zenoss/zenpacklib/issues/104","id":90702411,"number":104,"title":"strange results, just me?","user":{"login":"dougsyer","id":1815352,"avatar_url":"https://avatars.githubusercontent.com/u/1815352?v=3","gravatar_id":"","url":"https://api.github.com/users/dougsyer","html_url":"https://github.com/dougsyer","followers_url":"https://api.github.com/users/dougsyer/followers","following_url":"https://api.github.com/users/dougsyer/following{/other_user}","gists_url":"https://api.github.com/users/dougsyer/gists{/gist_id}","starred_url":"https://api.github.com/users/dougsyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougsyer/subscriptions","organizations_url":"https://api.github.com/users/dougsyer/orgs","repos_url":"https://api.github.com/users/dougsyer/repos","events_url":"https://api.github.com/users/dougsyer/events{/privacy}","received_events_url":"https://api.github.com/users/dougsyer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-24T15:03:51Z","updated_at":"2015-07-21T17:31:52Z","closed_at":"2015-07-21T17:31:52Z","body":"I have a zenpack where i tried to set a relation like this(probably typos here but i manually created this example)\r\n\r\nclass_relationships:\r\nCluster 1:MC RegServer\r\nCluster 1:MC RegisteringThing1\r\nCluster 1:MC RegisteringThing2\r\nRegServer 1:M RegisteringComponent\r\n\r\nClass Cluster:\r\n  base: [zenpacklib.device]\r\n\r\nClass RegServer:\r\n  base[zenpacklib.Component]  \r\n  filter display: false\r\n\r\nClass RegisteringComponent::\r\n  base: [zenpacklib.Component]\r\n\r\nClass RegisteringThing1:\r\n  base: [RegisteringComponent]\r\n\r\nClass RegisteringThing2:\r\n  base: [RegisteringComponent]\r\n  \r\n\r\nIt works, i can model against it, components are there..\r\n\r\nWhen I do a global search on components, i see the components but if i try to click on the global search it doesnt take me to the component, i get a zope/cannot find component screen.  I compared the URLS and they seem correct.\r\n\r\nWhat Im thinking is this is a path reporting issue, where I either need to add a relation per registering thingee or I need to muck with path reporting.   In the component panel dropdowns though I see the components linked together, and i see the correct counts on the grid.\r\n\r\nwhat im wondering is, is there a problem with zenpacklib where global search breaks if you inherit relations from a superclass like this?  im probably going to try to explicitly hard code the relations per regiteringthing but seems like I shouldnt have to because it almost works...and at first blush since i see the dropdown lists it doesnt look like a path reporting issue... "},"comment":{"url":"https://api.github.com/repos/zenoss/zenpacklib/issues/comments/123410340","html_url":"https://github.com/zenoss/zenpacklib/issues/104#issuecomment-123410340","issue_url":"https://api.github.com/repos/zenoss/zenpacklib/issues/104","id":123410340,"user":{"login":"dougsyer","id":1815352,"avatar_url":"https://avatars.githubusercontent.com/u/1815352?v=3","gravatar_id":"","url":"https://api.github.com/users/dougsyer","html_url":"https://github.com/dougsyer","followers_url":"https://api.github.com/users/dougsyer/followers","following_url":"https://api.github.com/users/dougsyer/following{/other_user}","gists_url":"https://api.github.com/users/dougsyer/gists{/gist_id}","starred_url":"https://api.github.com/users/dougsyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougsyer/subscriptions","organizations_url":"https://api.github.com/users/dougsyer/orgs","repos_url":"https://api.github.com/users/dougsyer/repos","events_url":"https://api.github.com/users/dougsyer/events{/privacy}","received_events_url":"https://api.github.com/users/dougsyer/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T17:31:52Z","updated_at":"2015-07-21T17:31:52Z","body":"I ended up just setting relations on a per class basis, kind of hacky but seems to fix the gui/index issues."}}