Uploaded image for project: 'JTalks Common'
  1. JTalks Common
  2. JTALKSCOMMON-66

Major list of fields should have a constraint of length

    Details

    • Type: Improvement
    • Status: Done (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: common 0.11
    • Fix Version/s: common 0.11
    • Labels:
      None

      Description

      Major list of fields should have a constraint of length

        Attachments

          Structure

            Activity

            Hide
            ancient_mariner Alex Lysak added a comment -

            refactored and added @Pattern annotation

            Show
            ancient_mariner Alex Lysak added a comment - refactored and added @Pattern annotation
            Hide
            ancient_mariner Alex Lysak added a comment -

            need to disable one test, that fails the build

            Show
            ancient_mariner Alex Lysak added a comment - need to disable one test, that fails the build
            Show
            ancient_mariner Alex Lysak added a comment - http://fisheye.jtalks.org/changelog/JTalks-common/jtalks-common-model/src/test/java/org/jtalks/common/mixin/ModificationAwareImplTest.java here is the change: @Test @Test(enabled = false)
            Hide
            jk1 Evgeniy Naumenko added a comment - - edited

            The following constraints should be apllied on User entity:

            User
            @NotNull
            @Length(min = 2, max = 25)
            username
            @Email - (our custom email annotation)
            email
            @NotBlank
            @Length(min = 4, max = 20)
            password

            Show
            jk1 Evgeniy Naumenko added a comment - - edited The following constraints should be apllied on User entity: User @NotNull @Length(min = 2, max = 25) username @Email - (our custom email annotation) email @NotBlank @Length(min = 4, max = 20) password
            Hide
            ctapobep Stanislav Bashkyrtsev added a comment - - edited

            Regarding password and username - is it possible to check in phpBB what are the constraints? Or these are those constraints? Just to ensure that we have same or broader ones.
            Anyway, the constraints for user are not relevant for Poulpe, so we approve whatever Larks say.

            Show
            ctapobep Stanislav Bashkyrtsev added a comment - - edited Regarding password and username - is it possible to check in phpBB what are the constraints? Or these are those constraints? Just to ensure that we have same or broader ones. Anyway, the constraints for user are not relevant for Poulpe, so we approve whatever Larks say.

              People

              • Assignee:
                ancient_mariner Alex Lysak
                Reporter:
                ancient_mariner Alex Lysak
              • Votes:
                0 Vote for this issue
                Watchers:
                Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 16h
                  16h

                    Structure Helper Panel