Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0.M1
    • Fix Version/s: None
    • Component/s: WEB MVC
    • Labels:
      None
    • Environment:
      Windows 7, TOMCAT 8, MySQL, Eclipse MARS.

      Description

      Scenario.

      1. Create entity.
      2. Add field with @unique constrain
      3. Create mvc scaffold for it.
      4. Create one entity with some value in that field.
      5. Create second entity with same value.

      Database will throw exception.

      In my opinion in generated method before "if (bindingResult.hasError())" should be some test for duplicates.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kalu Albert Kaluga
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: