Menu

#240 Date validation can be added to Book issue module

v1-0-Beta-3
closed-invalid
Other (71)
5
2007-11-23
2007-11-20
Kamakshi
No

Build : Beta 3

Description : Date validations can be implemented so that the due date and return date could not be before the Issued date.

Reproducibity : click the create new tab
specify the due date and return date before the Issued date.
click save icon

Discussion

  • Kamakshi

    Kamakshi - 2007-11-20
    • assigned_to: nobody --> janesh
     
  • Janesh Kodikara

    Janesh Kodikara - 2007-11-20

    Logged In: YES
    user_id=1849451
    Originator: NO

    This happens since ISBN filed is a unique field. ISBN not mandatory.
    When ISBN is not given for the second book the error happens.

    Unique index will be removed to fix the bug immediately.

     
  • Janesh Kodikara

    Janesh Kodikara - 2007-11-20
    • status: open --> pending-accepted
     
  • Janesh Kodikara

    Janesh Kodikara - 2007-11-23

    Logged In: YES
    user_id=1849451
    Originator: NO

    A book can be returned b4 due date also.

    Validation is done for
    1) Due date cannot be before borrowed date
    2) Return Date cannot be before borrowed date

     
  • Janesh Kodikara

    Janesh Kodikara - 2007-11-23
    • status: pending-accepted --> closed-invalid
     

Log in to post a comment.

MongoDB Logo MongoDB