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

Organization UI controls to manage data.json are not appearing #52

Closed
adborden opened this issue Jan 10, 2020 · 8 comments · Fixed by GSA/inventory-app#15
Closed

Organization UI controls to manage data.json are not appearing #52

adborden opened this issue Jan 10, 2020 · 8 comments · Fixed by GSA/inventory-app#15
Assignees
Labels

Comments

@adborden
Copy link

adborden commented Jan 10, 2020

GSA/inventory-app#7 (comment)

We discovered when bumping to the latest commit for ckanext-datajson, the UI controls to manage the data.json are missing. Rolling back to commit 177c9d8 works.

How to reproduce

  1. Create an organization
  2. Open the organization page

Expected

Screenshot from 2020-01-10 12-16-06

Actual

Screenshot from 2020-01-10 12-13-18

@adborden adborden added the bug label Jan 10, 2020
@adborden
Copy link
Author

Hmm, realizing that 177c9d8 is not on the datagov branch and that Inventory is running a fork of Catalog's ckanext-datajson 😭

@avdata99
Copy link

I just download the inventory app (in develop branch), run the starting commands, follow these steps and worked fine.

image

I think the master branch on ckanex-datajson has an old setup.py file. We should use datagov or upgrade this file

@avdata99
Copy link

avdata99 commented Jan 20, 2020

Those buttons are showed if the ckanext.datajson.inventory_links_enabled config is True. Maybe @adborden you just need to check if the config has changed.

@adborden
Copy link
Author

Thanks @avdata99, that seems to be the issue. So, given that we have two different branches, should we keep the changes from master? How should we merge these to branches?

@avdata99
Copy link

Last update on master was 3 years ago @adborden
image
If GSA is now in production env using datagov branch for catalog and inventory maybe it's a good idea to merge datagov into master directly. We also can open a PR for that and check the differences.

@adborden
Copy link
Author

adborden commented Jan 22, 2020 via email

@avdata99
Copy link

A work in progress PR was opened for this big merge: #53.
I need to work with this

@avdata99
Copy link

I did an analysis.
I added a new PR to merge first (conflict fixing and CircleCI errors).

And then it will be ok to merge the branches.
Maybe you can do some manual testing but the changes seem ok.

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