sam98uele / DB2Project_EJB

3 stars 0 forks source link

Field "Completed" in QuestionnarieResponse not needed #6

Closed sam98uele closed 3 years ago

sam98uele commented 3 years ago

I think that seen how we have implemented the Response Process, we do not need the field Completed, because it will stay in the session until completed.

NOTE At midnight we need to remove the questionnaire becuase a new day has started!

alessandriniluca commented 3 years ago

Confirm: this is due to the attribute we decided together friday night. When we drawed the ER model we did not think about that. If you want to remove it, I do not need to work on that class. Answer to the note: where do we have to put it exactly?

sam98uele commented 3 years ago

I think destroying all the sessions at midnight (as for example Polimi does with "Servizi Online") is one solution. @mattia1p @alessandriniluca

alessandriniluca commented 3 years ago

For sure, because the "product of the day" is product of the day from 00:00:00 to 23:59:59, and if you submit a questionnaire after that it is invalid (it is no more product of the day) (need to decide if being rigid: if someone starts compliting it at 23:59 and ends at 00:01 -> discard or soft : if someone starts compiling before midnight, if he does not disconnect at whatefer hour he finishes is accepted). I would opt for the rigid option ... what do you think?

mattia1p commented 3 years ago

Risolto yay😂😂

On Wed, 3 Mar 2021 at 19:49, Luca Alessandrini notifications@github.com wrote:

For sure, because the "product of the day" is product of the day from 00:00:00 to 23:59:59, and if you submit a questionnaire after that it is invalid (it is no more product of the day) (need to decide if being rigid: if someone starts compliting it at 23:59 and ends at 00:01 -> discard or soft : if someone starts compiling before midnight, if he does not disconnect at whatefer hour he finishes is accepted). I would opt for the rigid option ... what do you think?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/sam98uele/DB2Project_EJB/issues/6#issuecomment-789971600, or unsubscribe https://github.com/notifications/unsubscribe-auth/AICHPHNV7VFUHKZ5BZ3CVHLTB2AD7ANCNFSM4YRLT77A .