Uploaded image for project: 'Poulpe'
  1. Poulpe
  2. POULPE-529

REST: incorrect error while registration with empty username

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1 Swallows
    • Fix Version/s: backlog
    • Labels:
    • Environment:

      Poulpe 2.1.344.e62d084, SoapUI 5.1.2

      Description

      Steps to reproduce:

      1. Create POST request on registration with empty username, like this:
        <user xmlns="http://www.jtalks.org/namespaces/1.0">
          <username></username>
          <passwordHash>qwr</passwordHash>
          <email>bebebe666669912@mail.ru</email>
        </user>
        

      Actual result:
      <error code="user.username.already_exists"/>
      Expected result:
      <error code="user.username.length_constraint_violation"/>

      Logs from catalina.out are attached.

        Attachments

        1. 2015-03-30_log_POST.txt
          0.4 kB
          Sophia Yanchevskaya
        2. REST-Project-1-soapui-project.xml
          27 kB
          Sophia Yanchevskaya

          Structure

            Activity

              People

              • Assignee:
                skythet Raimbek Egemberdiev
                Reporter:
                Sophia Sophia Yanchevskaya
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Structure Helper Panel