Open Junlan1763 opened 4 years ago
Upload materials bug is related to the following stack error log. The exception is thrown by checkAdmin method not having correct OAuth2User object.
2020-08-20 12:46:58,760 ERROR WorkflowController:1095 - ------------------Error while verify admin user--------------------
2020-08-20 12:46:58,760 ERROR WorkflowController:1095 - ------------------Error while verify admin user--------------------
2020-08-20 12:46:58,761 ERROR WorkflowController:1115 - java.lang.Exception: unauthorised access - context is NULL
2020-08-20 12:46:58,761 ERROR WorkflowController:1115 - java.lang.Exception: unauthorised access - context is NULL
2020-08-20 12:46:58,765 ERROR AbstractResourceController:750 - Exception caught and friendly error dispatched
java.lang.Exception: unauthorised access - context is NULL
at uk.ac.york.dlib.yodling.web.workflow.WorkflowController.checkAdmin(WorkflowController.java:1089)
at uk.ac.york.dlib.yodling.web.workflow.WorkflowController.addFileUrl(WorkflowController.java:1113)
Workaround resolution is to restart Tomcat8 and Apache2 services.
Hi @Junlan1763
Sorry for my late reply - had full week AL last week.
Please could you let me know if you logged in as your own email account, or the shared IRIS account?
thanks
Hi Frank,
I kept using the IRIS account to deal with IRIS admin work.
Just now I checked with all the records related to Suzuki's new reference. They are all fine now! I have also uploaded the large size materials.
Could you please delete these duplicated records: https://www.iris-database.org/iris/app/home/detail?id=york%3a938235&ref=search
https://www.iris-database.org/iris/app/home/detail?id=york%3a938238&ref=search
https://www.iris-database.org/iris/app/home/detail?id=york%3a938239&ref=search
Thank you so much!
Junlan
On Mon, 24 Aug 2020 at 11:03, Frank Feng notifications@github.com wrote:
Hi @Junlan1763 https://github.com/Junlan1763
Sorry for my late reply - had full week AL last week.
Please could you let me know if you logged in as your own email account, or the shared IRIS account?
thanks
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/digital-york/iris/issues/71#issuecomment-679034445, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOPVJL2ETBXP4TZ6JTUD743SCI3GXANCNFSM4QB6HBUA .
@yf508
Hi Frank,
I think there is a bug in the system that I can't upload materials to the existing record: https://www.iris-database.org/iris/app/home/detail?id=york%3a938237&ref=search
Another problem was that I could not stay login after I moved forward. Please also help me to delete these records: https://www.iris-database.org/iris/app/home/detail?id=york%3a938235&ref=search https://www.iris-database.org/iris/app/home/detail?id=york%3a938238&ref=search https://www.iris-database.org/iris/app/home/detail?id=york%3a938239&ref=search
Thank you! Junlan