Giter Club home page Giter Club logo

Comments (4)

ptomasula avatar ptomasula commented on July 18, 2024

@aufdenkampe

I was not able to reproduce this error. That might have something to do with my fix in commit ecc4097, but that code should be on staging was we added prior to you opening this issue.

I definitely want to make sure we have this resolved before we release though. Would you mind trying to reproduce this issue again?

from odm2datasharingportal.

ptomasula avatar ptomasula commented on July 18, 2024

@aufdenkampe,

I think I figured out part of the issue. My new commit 7c80506 fixes an incorrect path in the login_failed endpoint. That likely explains the 500 response that you received, however that doesn't explain why why your first logging after setting the new password failed. So I think there is probably still a need for additional testing.

from odm2datasharingportal.

aufdenkampe avatar aufdenkampe commented on July 18, 2024

@ptomasula, it might explain my error. I experience the error immediately after setting my account password, so it wasn't from the normal pathway. It worked fine as soon as I tried logging in from a fresh start. If you can't reproduce it, I'm OK with moving forward with having others test the process on Staging.

from odm2datasharingportal.

ptomasula avatar ptomasula commented on July 18, 2024

Some of the Stroud Center team also reported similar issues with the version presently on staging. I tracked the error down to the update method of our ORM implementation. The update method drops the the key value pair from the dictionary provided as an argument if that dictionary key equals the primary field name. This results in a KeyError being raised a few lines later when the cognito code was trying to reference the primary key field in the same dictionary.

I fixed this with commit 9a74fba which adds back in the dropped primary key after the update occurs.

from odm2datasharingportal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.