Menu

#938 Date fields automatically set to the current date

2.2.0
closed
Core/OQL
Critical
2.0.2
defect
2016-11-25
2014-06-03
No

To reproduce:
Alter a lifecycle to have a date (or date/time) attribute be mandatory in a given state.
When entering that state, the date is preset with the current date.

There is currently no way to disable this behavior (leave the field blank so that the user is forced to enter or pick up a date.

Related

Tickets: #854

Discussion

  • Romain Quetiez

    Romain Quetiez - 2014-06-03

    Related to #854 (Flag Is Null Allowed inoperant) which further exposes the issue.

     
  • Romain Quetiez

    Romain Quetiez - 2014-06-10
    • milestone changed from 2.0.3 to Candidates for next release

    Replying to romainq:

    Related to #854 (Flag Is Null Allowed inoperant) which further exposes the issue.

    No, the exposure remains the same, unless the data model is customized.

    Therefore, and also because this change requires a specification phase, it is posponed to the next release.

     
  • Romain Quetiez

    Romain Quetiez - 2014-07-09

    Prototyped implementation:

    • Added a flag gui_default_value (xml + compiler)
    • The gui default value is taken into account (should the attribute be mandatory or not) when the form is show to the user.

    See the attached patch.

    This patch was not enough (could not remember why, must be further tested and discussed).

     

    Last edit: Romain Quetiez 2014-07-09
  • Denis

    Denis - 2015-02-18
    • Description has changed:

    Diff:

    
    
    • Milestone: Candidates for next release --> 2.2.0
    • Priority: minor --> Critical
     
  • Romain Quetiez

    Romain Quetiez - 2015-09-23
    • Milestone: 2.2.0 --> Next release
     
  • Romain Quetiez

    Romain Quetiez - 2016-01-19
    • Milestone: Next release --> Candidates for next release
     
  • Vincent @ Combodo

    • status: new --> closed
    • Milestone: Candidates for next release --> 2.2.0
     

Log in to post a comment.