<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>310066</bug_id>
          
          <creation_ts>2012-11-14 00:06:44 +0000</creation_ts>
          <short_desc>KOrganizer allows to create invalid events (without dtstart)</short_desc>
          <delta_ts>2012-11-14 10:46:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>korganizer</product>
          <component>incidence editors</component>
          <version>GIT (master)</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christian Mollekopf">mollekopf</reporter>
          <assigned_to name="Sergio Martins">smartins</assigned_to>
          <cc>smartins</cc>
          
          <cf_commitlink>http://commits.kde.org/kdepim/447806f1b2c1a0ee8f703c220911661df88ec1b7</cf_commitlink>
          <cf_versionfixedin>4.9.4</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1315329</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Mollekopf">mollekopf</who>
    <bug_when>2012-11-14 00:06:44 +0000</bug_when>
    <thetext>If the one clears the start date of an event in the incidenceeditor, it&apos;s still possible to save the event, resulting in an event without dtstart. This is invalid according to the RFC 5545, although it is not explicitly forbidden in rfc2445 (the predecessor rfc).
Since I generally think we should comply to RFC5545, and the event is anyways not accessible from Korganizer anymore once it has no dtstart (at least I don&apos;t know how), this should be fixed IMO by validating the event before saving (in the editor).

Reproducible: Always

Steps to Reproduce:
1. Create new event
2. remove dtstart
3. save
Actual Results:  
event without dtstart

Expected Results:  
Error dialog</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315409</commentid>
    <comment_count>1</comment_count>
    <who name="Sergio Martins">smartins</who>
    <bug_when>2012-11-14 10:46:43 +0000</bug_when>
    <thetext>Git commit 447806f1b2c1a0ee8f703c220911661df88ec1b7 by Sergio Martins.
Committed on 14/11/2012 at 11:43.
Pushed by smartins into branch &apos;KDE/4.9&apos;.

Don&apos;t allow invalid end and start times.
FIXED-IN: 4.9.4

M  +12   -0    incidenceeditor-ng/incidencedatetime.cpp

http://commits.kde.org/kdepim/447806f1b2c1a0ee8f703c220911661df88ec1b7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>