z00 / sportivity

0 stars 0 forks source link

Save an album with no name causes an error #6

Open KeithSavage opened 11 years ago

KeithSavage commented 11 years ago
  1. login
  2. click photos
  3. Edit an existing album
  4. delete everything
  5. click save

Validation failed for classes [com.sportivity.model.media.Album] during update time for groups [javax.validation.groups.Default, ] List of constraint violations:[ _ConstraintViolationImpl{interpolatedMessage='may not be empty', propertyPath=title, rootBeanClass=class com.sportivity.model.media.Album, messageTemplate='{org.hibernate.validator.constraints.NotEmpty.message}'} ]

Debug only The page you requested: /myHome/photosAndVideos

z00 commented 10 years ago

Najy, this is the issue we debugged, I could not figure it out, something to do with remote command when saving the album. Try to edit an existing album's title, keep it blank, save, nothing happens, save again, dialog goes away.

KeithSavage commented 10 years ago

Album name: Validation Error: Value is required.

Can this be...

Album name: Is required.