Uploaded image for project: 'mod-login-saml'
  1. mod-login-saml
  2. MODLOGSAML-110

/saml/validate NEP 400

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Done
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.4.0
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      CP: sprint 126, CP: sprint 127
    • Story Points:
      1
    • Development Team:
      Core: Platform

      Description

      curl -D- -HX-Okapi-Tenant:testlib http://localhost:8081/saml/validate
      HTTP/1.1 400 Bad Request
      transfer-encoding: chunked
      Content-Type: text/plain
      

      log of mod-login-saml:

      ..
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [mod-login-saml-fat.jar:?]
      	at java.lang.Thread.run(Thread.java:829) [?:?]
      Caused by: java.lang.NullPointerException
      	at org.folio.rest.impl.SamlAPI.getSamlValidate(SamlAPI.java:458) ~[mod-login-saml-fat.jar:?]
      	... 53 more
      17:04:33 [] [] [] [] INFO  LogUtil              127.0.0.1:37074 GET /saml/validate null HTTP_1_1 400 0 -1 tid=null Bad Request 
      

      Problems

      1. HTTP status 400 is returned without message about what the cause is.
      2. 400 is not listed in RAML as possible return error.

        TestRail: Results

          Attachments

            Activity

              People

              Assignee:
              adam Adam Dickmeiss
              Reporter:
              adam Adam Dickmeiss
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  TestRail: Runs

                    TestRail: Cases