gvlproject / genomespace

Test suite & Issues for GenomeSpace Australia
0 stars 1 forks source link

Tool icons arent uploading #60

Closed madisonkeene closed 7 years ago

madisonkeene commented 8 years ago

401 unauthorized

madisonkeene commented 8 years ago

The culprit, in CustomToolIconServlet.java - if (iconDirMetadata == null) iconDirMetadata = dm.createDirectory("/Home/"+gsUsername, "PrivateToolIcons");

madisonkeene commented 8 years ago

I've hacked around this for now by disabling the servlet-url mapping in web.xml so it goes looking in a folder on the server... we need to figure something out long term for this.

madisonkeene commented 8 years ago

Solution: create a swift container and use that

madisonkeene commented 7 years ago

@ykowsar can you please document what you changed for this (or just email it to me) so I can reproduce on dev? :)

ykowsar commented 7 years ago

Ooops sorry I forgot to leave the comment. Change the web.xml in JSUI bundle and remove two parts 1- The part related to toolIcon servlet and 2- Two relations related to toolIcon servlet.

It was weird that the relations and the servlet where one relation apart. The servlet part is commented accordingly.

In the JSUI gui I commented out this part:

from the the form with the id: customIconUpload.

I think it was in the gsui.html

Cheers Y

On Wed, Oct 26, 2016 at 1:24 PM, Madison Flannery notifications@github.com wrote:

@ykowsar https://github.com/ykowsar can you please document what you changed for this (or just email it to me) so I can reproduce on dev? :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gvlproject/genomespace/issues/60#issuecomment-256232820, or mute the thread https://github.com/notifications/unsubscribe-auth/AIF_oCl5LAt6B8fxiX5GrNmonkOJ6yUbks5q3rn1gaJpZM4KQql6 .

madisonkeene commented 7 years ago

Madi's To-do: