You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org> on 2006/06/27 17:33:29 UTC

[jira] Created: (TOMAHAWK-506) Schedule getClickedTime() returns incorrect time in compact views

Schedule getClickedTime() returns incorrect time in compact views
-----------------------------------------------------------------

         Key: TOMAHAWK-506
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-506
     Project: MyFaces Tomahawk
        Type: Bug

  Components: Schedule  
    Versions: 1.1.4-SNAPSHOT    
    Reporter: Peter Mahoney


In the month and week views ScheduleMouseEvent.getClickedTime() returns an incorrect time.

The date is always the current date, the hour is always 08:00 and the minutes are always the current minutes past the hour.

I have not yet had a chance to investigate possible causes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-506) Schedule getClickedTime() returns incorrect time in compact views

Posted by "Dan (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-506?page=comments#action_12426575 ] 
            
Dan  commented on TOMAHAWK-506:
-------------------------------

is this patch gonna be applied? it's been a month now.

> Schedule getClickedTime() returns incorrect time in compact views
> -----------------------------------------------------------------
>
>                 Key: TOMAHAWK-506
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-506
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Schedule
>    Affects Versions: 1.1.4-SNAPSHOT
>            Reporter: Peter Mahoney
>         Attachments: abstractcompactschedulerenderer.patch
>
>
> In the month and week views ScheduleMouseEvent.getClickedTime() returns an incorrect time.
> The date is always the current date, the hour is always 08:00 and the minutes are always the current minutes past the hour.
> I have not yet had a chance to investigate possible causes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (TOMAHAWK-506) Schedule getClickedTime() returns incorrect time in compact views

Posted by "Jurgen Lust (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-506?page=comments#action_12418209 ] 

Jurgen Lust commented on TOMAHAWK-506:
--------------------------------------

Aha, then that is in fact a bug :) I'll look into it this weekend...

> Schedule getClickedTime() returns incorrect time in compact views
> -----------------------------------------------------------------
>
>          Key: TOMAHAWK-506
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-506
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: Schedule
>     Versions: 1.1.4-SNAPSHOT
>     Reporter: Peter Mahoney

>
> In the month and week views ScheduleMouseEvent.getClickedTime() returns an incorrect time.
> The date is always the current date, the hour is always 08:00 and the minutes are always the current minutes past the hour.
> I have not yet had a chance to investigate possible causes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (TOMAHAWK-506) Schedule getClickedTime() returns incorrect time in compact views

Posted by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-506?page=all ]

Peter Mahoney updated TOMAHAWK-506:
-----------------------------------

    Status: Patch Available  (was: Open)

> Schedule getClickedTime() returns incorrect time in compact views
> -----------------------------------------------------------------
>
>          Key: TOMAHAWK-506
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-506
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: Schedule
>     Versions: 1.1.4-SNAPSHOT
>     Reporter: Peter Mahoney
>  Attachments: abstractcompactschedulerenderer.patch
>
> In the month and week views ScheduleMouseEvent.getClickedTime() returns an incorrect time.
> The date is always the current date, the hour is always 08:00 and the minutes are always the current minutes past the hour.
> I have not yet had a chance to investigate possible causes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (TOMAHAWK-506) Schedule getClickedTime() returns incorrect time in compact views

Posted by "Jurgen Lust (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-506?page=all ]

Jurgen Lust updated TOMAHAWK-506:
---------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 1.1.5-SNAPSHOT
       Resolution: Fixed

Patch applied. Sorry for the delay, vacation got in the way of things :)

> Schedule getClickedTime() returns incorrect time in compact views
> -----------------------------------------------------------------
>
>                 Key: TOMAHAWK-506
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-506
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Schedule
>    Affects Versions: 1.1.4-SNAPSHOT
>            Reporter: Peter Mahoney
>             Fix For: 1.1.5-SNAPSHOT
>
>         Attachments: abstractcompactschedulerenderer.patch
>
>
> In the month and week views ScheduleMouseEvent.getClickedTime() returns an incorrect time.
> The date is always the current date, the hour is always 08:00 and the minutes are always the current minutes past the hour.
> I have not yet had a chance to investigate possible causes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (TOMAHAWK-506) Schedule getClickedTime() returns incorrect time in compact views

Posted by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-506?page=comments#action_12418206 ] 

Peter Mahoney commented on TOMAHAWK-506:
----------------------------------------

I agree about the time, but the day is always the current date rather than the day that was clicked on. If I click on the 29th June box, I would expect the time to be returned as 29/6/2006 8:00, not 28/6/2006.

> Schedule getClickedTime() returns incorrect time in compact views
> -----------------------------------------------------------------
>
>          Key: TOMAHAWK-506
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-506
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: Schedule
>     Versions: 1.1.4-SNAPSHOT
>     Reporter: Peter Mahoney

>
> In the month and week views ScheduleMouseEvent.getClickedTime() returns an incorrect time.
> The date is always the current date, the hour is always 08:00 and the minutes are always the current minutes past the hour.
> I have not yet had a chance to investigate possible causes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-506) Schedule getClickedTime() returns incorrect time in compact views

Posted by "Jurgen Lust (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-506?page=comments#action_12418204 ] 

Jurgen Lust commented on TOMAHAWK-506:
--------------------------------------

Actually, this was the way it was intended, except for the minutes part that is. In the compact view, the clicked time is always the visible start time, because this view is just a list of events, without positioning. Therefore, it does not make sense to determine the time of day from the position of the mouse.

> Schedule getClickedTime() returns incorrect time in compact views
> -----------------------------------------------------------------
>
>          Key: TOMAHAWK-506
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-506
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: Schedule
>     Versions: 1.1.4-SNAPSHOT
>     Reporter: Peter Mahoney

>
> In the month and week views ScheduleMouseEvent.getClickedTime() returns an incorrect time.
> The date is always the current date, the hour is always 08:00 and the minutes are always the current minutes past the hour.
> I have not yet had a chance to investigate possible causes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira