C-OSS TT editing times validation

Submitted by Anna Géczi on 15 October, 2019 - 09:07
Basic
Description
Summary

C-OSS users will be able to change times of Flex pap path sections but with some restrictions. The reason for this is that the calendar of the timetable cannot be changed by C-OSS users.

New error message upon TT Save action:

In order to avoid the need for recalculation of the calendar a validation should be performed: the change of times in a path section should not create (additional) offset with:

  • adjoining Pap path sections: An error message should be displayed: "The times of path section <Op. point name> does not conform to the running days in adjoining Pap sections".
  • in the same Pap section: An error message should be displayed: "The times of path section <Op. point name> does not conform to the running days in this Pap section".

New warning message upon TT Save action:

When the change in times will lead to (additional) offset against the adjoining F/O/IFO path sections an ACTION_REQUIRED type of error message should be shown: "The times of path section <Op. point name> does not conform to the running days in adjoining path sections <F/O/IFO op. point name>. Should the times in the path section be cleared?". If the user confirms the times of the adjoining F/O/IFO path sections will be cleared.

Test cases

  • (case1.png) PS7: 01:15 -> 02:45 (offset removed) -> error message
  • (case1.png) PS13: 00:05 -> 23:55 (offset removed) -> error message
  • (case1.png) PS7: 01:15 -> 13:13 (create offset in adjoining Pap) -> error message
  • (case1.png) PS5: 01:30 -> 00:03 (offset with PS4 - Feeder) -> warning message (times in PS4 will be removed)
  • (case2.png) PS5: 02:55 -> 23:45; 03:00 -> 23:48; PS6: 04:00 -> 23:50; PS7: 06:00 -> 23:55 -> error message - new offset is involved with adjoining pap
  • (case2.png) PS5: 02:55 -> 23:25; 03:00 -> 23:30; PS6: 04:00 -> 23:40; PS7: 06:00 -> 23:45 -> error message  - new offset is not involved, because it's still the same day
  • (case2.png) PS7: 06:00 -> 06:20 (offset with PS8) -> warning message (times in PS8 will be removed)
  • (case2.png) PS7: 06:00 -> 08:00 (offset with PS8, PS9, PS10) -> warning message (times in PS8, PS9, PS10 will be removed)
  • (case2.png) PS11: n/a -> 07:10 (offset with PS9 (departure), PS10) -> warning message (times in PS9 (departure), PS10 will be removed)
  • (case2.png) PS12: n/a -> 23:05 (offset with PS13 (arrival)) -> warning message (times in PS13 (arrival) will be removed)
JIRA nr.
https://extranet.netcetera.biz/jira/browse/RNE014-1879
Issue type
Story
Priority
Major
Details
Planned for Patch Release
Wednesday, 4 April, 2018
Taken in Patch Release
Wednesday, 4 April, 2018