3 Replies Latest reply on Nov 25, 2005 2:28 AM by Ronald van Kuijk

    Task priority and duration are not parsed correctly.

    Konstantin Kolev Newbie

      Hello, evaryone.
      Since I am dealing with tasks for the last week mainly all my questions arise from that.
      Two things are not correct according to me:
      1. Task priority is not parsed from the XML definition correctly no matter if it is set using number 1-5 or text (highest, high, normal, low, lowest). The priority is always normal=3. Setting priority explicitly to task instance however works.
      2. The problem with duration is more specific since it is (accotding to me) not converted to date correctly. For example a task instance created at 11:41 on 24.11.2005 with duration "6 business hours" is calculated that must be finished until 13:41 at 25:11.2005. This is not correct and for not to be too talkative I will apply my business calendar settings:

      #weekday ::= [<daypart> [& <daypart>]*]
      #daypart ::= <start-hour>-<to-hour>
      #start-hour and to-hour must be in the hour.format
      #dayparts have to be ordered
      weekday.monday= 9:00-12:00 & 13:00-18:00
      weekday.thuesday= 9:00-12:00 & 13:00-18:00
      weekday.wednesday= 9:00-12:00 & 13:00-18:00
      weekday.thursday= 9:00-12:00 & 13:00-18:00
      weekday.friday= 9:00-12:00 & 13:00-18:00
      # holiday syntax: <holiday>
      # holiday period syntax: <start-day>-<end-day>
      # below are the Bulgarian official holidays
      holiday.1= 01/01/2005 # New year
      holiday.2= 03/03/2005 # National celebration
      holiday.3= 01/05/2005 # Labor day
      holiday.4= 06/05/2005 # Bravary day, Bulgarian army day
      holiday.5= 24/05/2005 # Slav literature and culture day
      holiday.6= 06/09/2005 # Union day
      holiday.7= 22/09/2005 # Independence day
      holiday.8= 01/11/2005 # Leaders of the Bulgarian National day
      holiday.9= 24/12/2005 # Christmas eve
      holiday.10= 25/12/2005 # Christmas
      holiday.11= 26/12/2005 # The day after Christmas
      business.day.expressed.in.hours= 8
      business.week.expressed.in.hours= 40
      business.month.expressed.in.business.days= 21
      business.year.expressed.in.business.days= 220

      Does anyone have any idea is that a bug or a normal behaviour?

      Thanks in advance