Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-4750

Repository name more than 80 characters can't be added to review

    XMLWordPrintable

Details

    Description

      If a repository is added into FishEye/Crucible with more than 80 characters, it's commits can't be added into a review:

      2013-07-22 17:56:13,992 WARN  [qtp650484437-1332 ] org.eclipse.jetty.servlet.ServletHandler ServletHandler-doHandle - /cru/CR-1/edit-changelog/
      java.lang.IllegalArgumentException: The value 'testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest' for the property 'defaultSource' is too long. It should have a maximum length of 80
      	at com.cenqua.crucible.hibernate.PropertyLengthCheckerListener.checkEntity(PropertyLengthCheckerListener.java:25)
      	at com.cenqua.crucible.hibernate.PropertyLengthCheckerListener.onFlushDirty(PropertyLengthCheckerListener.java:12)
      	at com.cenqua.crucible.hibernate.HibernateListenerInterceptor.onFlushDirty(HibernateListenerInterceptor.java:34)
      	at org.hibernate.event.def.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:372)
      	at org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:349)
      	at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:287)
      	at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:155)
      

      FishEye/Crucible should have checked and limit the repository name when it is added into the server.

      Attachments

        Activity

          People

            Unassigned Unassigned
            klfoong Foong (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: