k-int / gokb-phase1

Original GOKb repo - Moving to https://github.com/openlibraryenvironment/gokb
http://www.gokb.org
Other
11 stars 5 forks source link

CRED: Package download options need to be available without edit permissions #414

Closed kristenwilson closed 8 years ago

kristenwilson commented 9 years ago

I just learned that the ability to do the kbart and tsv exports for packages is tied to the permission to be able to edit packages. These options really should be available to all users. I don't know if this can be considered a bug, but I never intended to have that functionality restricted. The ability to provide easy exports of package files is one of our big selling points for publishers and consortia, so we need to fix this soon. Do you think this could be done in 5.0?

ianibo commented 8 years ago

New /packages endpoint

jhsolomon commented 8 years ago

I do not see this option in my view-only account. I can see that there is now a way to save a search, but there is no way to download a package or the items in my saved folder.

image

jhsolomon commented 8 years ago

When I go to http://test-gokb.kuali.org/gokb/packages I can search for packages, but get an error when I click on the package link.

image

image

ianibbo commented 8 years ago

This should be available from the /packages endpoint

Ian Ibbotson Director Knowledge Integration Ltd 35 Paradise Street, Sheffield. S3 8PZ T: 0114 273 8271 M: 07968 794 630 W: http://www.k-int.com

On 8 March 2016 at 18:04, jhsolomon notifications@github.com wrote:

Reopened #414 https://github.com/k-int/gokb-phase1/issues/414.

— Reply to this email directly or view it on GitHub https://github.com/k-int/gokb-phase1/issues/414#event-582107887.

ianibbo commented 8 years ago

Ack OK thanks - this is obvs broken.

Ian Ibbotson Director Knowledge Integration Ltd 35 Paradise Street, Sheffield. S3 8PZ T: 0114 273 8271 M: 07968 794 630 W: http://www.k-int.com

On 8 March 2016 at 18:12, jhsolomon notifications@github.com wrote:

When I go to http://test-gokb.kuali.org/gokb/packages I can search for packages, but get an error when I click on the package link.

[image: image] https://cloud.githubusercontent.com/assets/13369381/13611204/48cf5186-e52f-11e5-9416-9433e350111d.png

[image: image] https://cloud.githubusercontent.com/assets/13369381/13611212/55ee74c8-e52f-11e5-9a8b-d008216909a0.png

— Reply to this email directly or view it on GitHub https://github.com/k-int/gokb-phase1/issues/414#issuecomment-193896886.

jhsolomon commented 8 years ago

Would there be a way to integrate this into the package record?

On Tue, Mar 8, 2016 at 1:40 PM, ianibbo notifications@github.com wrote:

Ack OK thanks - this is obvs broken.

Ian Ibbotson Director Knowledge Integration Ltd 35 Paradise Street, Sheffield. S3 8PZ T: 0114 273 8271 M: 07968 794 630 W: http://www.k-int.com

On 8 March 2016 at 18:12, jhsolomon notifications@github.com wrote:

When I go to http://test-gokb.kuali.org/gokb/packages I can search for packages, but get an error when I click on the package link.

[image: image] < https://cloud.githubusercontent.com/assets/13369381/13611204/48cf5186-e52f-11e5-9416-9433e350111d.png

[image: image] < https://cloud.githubusercontent.com/assets/13369381/13611212/55ee74c8-e52f-11e5-9a8b-d008216909a0.png

— Reply to this email directly or view it on GitHub <https://github.com/k-int/gokb-phase1/issues/414#issuecomment-193896886 .

— Reply to this email directly or view it on GitHub https://github.com/k-int/gokb-phase1/issues/414#issuecomment-193907935.

Jennifer Solomon GOKb Editor, Acquisitions and Discovery North Carolina State University Libraries 919-515-2743 j kristen_wilson@ncsu.eduhsolomo@ncsu.edu

ianibo commented 8 years ago

Yeah we can add a link if that will be sufficient

On 8 March 2016 at 19:59, jhsolomon notifications@github.com wrote:

Would there be a way to integrate this into the package record?

On Tue, Mar 8, 2016 at 1:40 PM, ianibbo notifications@github.com wrote:

Ack OK thanks - this is obvs broken.

Ian Ibbotson Director Knowledge Integration Ltd 35 Paradise Street, Sheffield. S3 8PZ T: 0114 273 8271 M: 07968 794 630 W: http://www.k-int.com

On 8 March 2016 at 18:12, jhsolomon notifications@github.com wrote:

When I go to http://test-gokb.kuali.org/gokb/packages I can search for packages, but get an error when I click on the package link.

[image: image] <

https://cloud.githubusercontent.com/assets/13369381/13611204/48cf5186-e52f-11e5-9416-9433e350111d.png

[image: image] <

https://cloud.githubusercontent.com/assets/13369381/13611212/55ee74c8-e52f-11e5-9a8b-d008216909a0.png

— Reply to this email directly or view it on GitHub < https://github.com/k-int/gokb-phase1/issues/414#issuecomment-193896886 .

— Reply to this email directly or view it on GitHub <https://github.com/k-int/gokb-phase1/issues/414#issuecomment-193907935 .

Jennifer Solomon GOKb Editor, Acquisitions and Discovery North Carolina State University Libraries 919-515-2743 j kristen_wilson@ncsu.eduhsolomo@ncsu.edu

— Reply to this email directly or view it on GitHub https://github.com/k-int/gokb-phase1/issues/414#issuecomment-193943396.

Ian Ibbotson W: http://ianibbo.me E: ianibbo@gmail.com skype: ianibbo twitter: ianibbo GoodReads: https://www.goodreads.com/user/show/3106516-ian-ibbotson

jhsolomon commented 8 years ago

I think that would be helpful, otherwise I'm not sure that view-only users will understand how to get to the download page.

On Tue, Mar 8, 2016 at 3:07 PM, Ian Ibbotson notifications@github.com wrote:

Yeah we can add a link if that will be sufficient

On 8 March 2016 at 19:59, jhsolomon notifications@github.com wrote:

Would there be a way to integrate this into the package record?

On Tue, Mar 8, 2016 at 1:40 PM, ianibbo notifications@github.com wrote:

Ack OK thanks - this is obvs broken.

Ian Ibbotson Director Knowledge Integration Ltd 35 Paradise Street, Sheffield. S3 8PZ T: 0114 273 8271 M: 07968 794 630 W: http://www.k-int.com

On 8 March 2016 at 18:12, jhsolomon notifications@github.com wrote:

When I go to http://test-gokb.kuali.org/gokb/packages I can search for packages, but get an error when I click on the package link.

[image: image] <

https://cloud.githubusercontent.com/assets/13369381/13611204/48cf5186-e52f-11e5-9416-9433e350111d.png

[image: image] <

https://cloud.githubusercontent.com/assets/13369381/13611212/55ee74c8-e52f-11e5-9a8b-d008216909a0.png

— Reply to this email directly or view it on GitHub < https://github.com/k-int/gokb-phase1/issues/414#issuecomment-193896886 .

— Reply to this email directly or view it on GitHub < https://github.com/k-int/gokb-phase1/issues/414#issuecomment-193907935 .

Jennifer Solomon GOKb Editor, Acquisitions and Discovery North Carolina State University Libraries 919-515-2743 j kristen_wilson@ncsu.eduhsolomo@ncsu.edu

— Reply to this email directly or view it on GitHub <https://github.com/k-int/gokb-phase1/issues/414#issuecomment-193943396 .

Ian Ibbotson W: http://ianibbo.me E: ianibbo@gmail.com skype: ianibbo twitter: ianibbo GoodReads: https://www.goodreads.com/user/show/3106516-ian-ibbotson

— Reply to this email directly or view it on GitHub https://github.com/k-int/gokb-phase1/issues/414#issuecomment-193946569.

Jennifer Solomon GOKb Editor, Acquisitions and Discovery North Carolina State University Libraries 919-515-2743 j kristen_wilson@ncsu.eduhsolomo@ncsu.edu

jhsolomon commented 8 years ago

I rechecked and am still getting the "Error 500: Internal Server Error" for both the package and the kbart download.

jhsolomon commented 8 years ago

tested in Chrome and Firefox.

package export is working from both the package record "public kbart" link and the http://test-gokb.kuali.org/gokb/packages endpoint.

fix confirmed. @kristenwilson please test.

ianibo commented 8 years ago

Add second button for alternate export, remove menu options. Call TSV/CSV Export GoKB Export

jhsolomon commented 8 years ago

The KB+File download is giving me an error: image

Could we change the link name to GOKb File? KB+ is a little confusing to me.

jhsolomon commented 8 years ago

On the http://test-gokb.kuali.org/gokb/packages endpoint, can we change "Public Kbart" to "Download Kbart file"?

ianibo commented 8 years ago

Tested - packages endpoint now says download Kbart file image

Tested KBart and GoKB download links from package screen. All appears to match. Re-adding retest label, removing Ian review label. Please update or close accordingly.

jhsolomon commented 8 years ago

Thank you! Package downloads are working in Chrome and Firefox.

On the package page, can you change "GoKB File" to "GOKb File"? Sorry to be picky...

jhsolomon commented 8 years ago

fix confirmed

kristenwilson commented 8 years ago

I downloaded several files of both types for a few different packages. They were all empty. The KBART file did at least have headers, but the GOKb file was completely blank. @jhsolomon did you not find this when you tested?

jhsolomon commented 8 years ago

I just re-tested this and the GOKb file was blank and the KBART file had the column headers. From the http://test-gokb.kuali.org/gokb/packages page, the KBART file only had the column headers.

ianibbo commented 8 years ago

Ack - sorry guys - Introduced a bug adding the download date into the filename that is causing the action to bomb out prematurely. Fixing.

Ian Ibbotson Director Knowledge Integration Ltd 35 Paradise Street, Sheffield. S3 8PZ T: 0114 273 8271 M: 07968 794 630 W: http://www.k-int.com

On 7 April 2016 at 14:25, kristenwilson notifications@github.com wrote:

I downloaded several files of both types for a few different packages. They were all empty. The KBART file did at least have headers, but the GOKb file was completely blank. @jhsolomon https://github.com/jhsolomon did you not find this when you tested?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/k-int/gokb-phase1/issues/414#issuecomment-206899838

ianibbo commented 8 years ago

Think I introduced this last night - which might by why it suddenly appears broken - fixing now. Sorry.

Ian Ibbotson Director Knowledge Integration Ltd 35 Paradise Street, Sheffield. S3 8PZ T: 0114 273 8271 M: 07968 794 630 W: http://www.k-int.com

On 7 April 2016 at 14:25, kristenwilson notifications@github.com wrote:

I downloaded several files of both types for a few different packages. They were all empty. The KBART file did at least have headers, but the GOKb file was completely blank. @jhsolomon https://github.com/jhsolomon did you not find this when you tested?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/k-int/gokb-phase1/issues/414#issuecomment-206899838

jhsolomon commented 8 years ago

fix confirmed

kristenwilson commented 8 years ago

Confirmed fixed.