Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with sub-levels #3

Open
Languette opened this issue Dec 11, 2017 · 2 comments
Open

Problem with sub-levels #3

Languette opened this issue Dec 11, 2017 · 2 comments

Comments

@Languette
Copy link

Hi,
I would like to use this extension to make a dataset tree.
I read all the program and i still haven't found the mistake.
I don't understand why the extension show only one dataset in the "sub-levels" category in spite of having 2 or more dataset in this category (for every dataset rank).

I verified it and all my dataset are linked by parent/child relationships.

Thanks you for your answer !

@ted-strauss-K1
Copy link

I am getting the same bug. I confirmed that parent-child relations are there, but not being displayed.

# ckanapi action package_relationships_list id=the-open-meg-archive-omega  -c /etc/ckan/default/development.ini
[
  {
    "comment": "",
    "object": "abcdefghv1002c",
    "subject": "the-open-meg-archive-omega",
    "type": "parent_of"
  },
  {
    "comment": "",
    "object": "abcdefghv1002d",
    "subject": "the-open-meg-archive-omega",
    "type": "parent_of"
  },
  {
    "comment": "",
    "object": "abcdefghv1002f",
    "subject": "the-open-meg-archive-omega",
    "type": "parent_of"
  },
  {
    "comment": "",
    "object": "meg-scan-abcdefghv1002",
    "subject": "the-open-meg-archive-omega",
    "type": "parent_of"
  }
]

@metaodi
Copy link
Contributor

metaodi commented Feb 9, 2018

I try to reproduce this, it's been a while since I last used thismextension. I remember that there used to be a CKAN core bug related to relationships ( hey only work in one direction and only when using the name instead of the id or vice-versa).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants