Issue creation error from Board with default milestone (OD-484)
bufferUnderrun opened 4 years ago

Hi,

Server return error after creating an issue, strange behaviour.

  • created from "Issues" nav : success in any cases.
  • created from "Boards" nav :
  • issues have milestone (the default milestone from the current boards) : error
  • when i remove the current related milestone : success (but after creation the milestone is still related)

Log

2021-12-16 08:28:32,048 ERROR [qtp746907990-225] o.h.e.jdbc.spi.SqlExceptionHelper integrity constraint violation: unique constraint or index violation; UK3GWYVNFJJWFKBEWYNRVAS0LE4 table: O_ISSUESCHEDULE

i'm using the default internal onedev database.

  • Robin Shen commented 4 years ago

    Thanks for reporting. Will be fixed soon.

  • Robin Shen commented 4 years ago

    issues have milestone (the default milestone from the current boards) : error

    I can reproduce this error

    when i remove the current related milestone : success (but after creation the milestone is still related)

    Can you explain more for this case?

  • bufferUnderrun commented 4 years ago

    In the Boards image.png

    Issue form image_2.png

    Then, suppose i don't want to attach to this milestone and so remove it image_3.png

    After Save the issue, it still attach to the milestone i removed ? image_4.png

    well, this not really a problem as i always attach the created issue to the current board milestone

  • Robin Shen commented 4 years ago

    I see. Thanks for the clarification.

  • Robin Shen commented 4 years ago

    This is also a bug. OneDev should fill the default value here and respect user choice afterwards.

  • OneDev changed state to 'Closed' 4 years ago
    Previous Value Current Value
    Open
    Closed
  • OneDev changed state to 'Released' 4 years ago
    Previous Value Current Value
    Closed
    Released
issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
Not Found
Issue Votes (0)
Watchers (2)
Reference
OD-484
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover