Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) New Release (Read 10014 times)
MichaelH
YaBB Newbies
*
Offline


Did you not get the memo?

Posts: 17
Joined: Jun 12th, 2007
New Release
Aug 8th, 2007 at 1:57pm
Print Post  
Hi,

Do you have a date for an updated release of the Planner, that includes the fix with appointment resizing at the edge of a calendar?

Thanks
Michael
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New Release
Reply #1 - Aug 9th, 2007 at 5:02am
Print Post  
Since the release date of the next version of Planner.NET is not known at this time, you can contact my colleagues via e-mail and they will send you an updated version.

Meppy
  
Back to top
 
IP Logged
 
MichaelH
YaBB Newbies
*
Offline


Did you not get the memo?

Posts: 17
Joined: Jun 12th, 2007
Re: New Release
Reply #2 - Aug 23rd, 2007 at 12:08pm
Print Post  
Hi,

Could you tell me who to email?  I have to ask head office to do it as they purchased the licenses.

Thanks
Michael.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New Release
Reply #3 - Aug 24th, 2007 at 4:39am
Print Post  
You can e-mail to support@mindfusion.eu. My colleagues will send you the most recent version of Planner.

Meppy
  
Back to top
 
IP Logged
 
MichaelH
YaBB Newbies
*
Offline


Did you not get the memo?

Posts: 17
Joined: Jun 12th, 2007
Re: New Release
Reply #4 - Aug 24th, 2007 at 7:39am
Print Post  
Hi,

I recieved the latest release by email and tried it out and the problem with the appointments not being resizable when they are placed on the left side of the calendar is fixed.

However, if you now pick up the appointment and attempt to move it, it jumps over to the right.
Thanks
Michael.

  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New Release
Reply #5 - Aug 24th, 2007 at 9:39am
Print Post  
It seems that someone here is still sleeping. My colleagues will send you a hot-fix any time now.

Meppy
  
Back to top
 
IP Logged
 
MichaelH
YaBB Newbies
*
Offline


Did you not get the memo?

Posts: 17
Joined: Jun 12th, 2007
Re: New Release
Reply #6 - Aug 24th, 2007 at 12:17pm
Print Post  
Meppy,

This appears to work fine.  Cheesy

Thanks for your help!

Michael
  
Back to top
 
IP Logged
 
MichaelH
YaBB Newbies
*
Offline


Did you not get the memo?

Posts: 17
Joined: Jun 12th, 2007
Re: New Release
Reply #7 - Aug 24th, 2007 at 1:45pm
Print Post  
Meppy,

Sorry!  Out test team are reporting an intermittent error when removing an appointment from the calendar.

This does not happen everytime an appointment is deleted.  This issue never happened before the latest patch.

Here is the error as logged:

Cannot remove the specified item because it was not found in the specified Collection.
   at System.Collections.CollectionBase.System.Collections.IList.Remove(Object value)
   at MindFusion.Scheduling.ItemCollection.Remove(Item item)
   at MindFusion.Scheduling.WinForms.Calendar.OnKeyDown(KeyEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Thanks for your help.

Michael.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New Release
Reply #8 - Aug 28th, 2007 at 5:10am
Print Post  
Any more information about this error will be most useful. Does it happen in the Timetable view? Are you deleting an ordinary or a recurring appointment? Are you by any chance deleting appointments programmatically somewhere in your code? Anything else you think might be worth mentioning.

Thank you,
Meppy
  
Back to top
 
IP Logged
 
MichaelH
YaBB Newbies
*
Offline


Did you not get the memo?

Posts: 17
Joined: Jun 12th, 2007
Re: New Release
Reply #9 - Aug 28th, 2007 at 5:50am
Print Post  
Hi,

Yes, the Calendar is set to a TimeTable view.
The ItemDeleted event is used to discover which appointment is being deleted. We used the e.Item property to get information about the appointment so we can update our own appointment database.

It is not a recurring appointment.

This is the code I have in the ItemDeleted method:

protected virtual void calendar_ItemDeleted(object sender, MindFusion.Scheduling.WinForms.ItemEventArgs e)
{
Appointment appointment = e.Item as Appointment;
AppointmentCore coreAppointment = e.Item.Tag as AppointmentCore;
SelectedCalendar.RemoveAppointment(coreAppointment);
RefreshUIAppointments();

CallOnCalendarChange();
}


It uses the .Tag property of the appointment which holds our own Appointment object. the RemoveAppointment method removes our own Appointment object, not the Mindfusion Appointment.

I will be trying to recreate the problem and will post more information if I get it. 

Thanks
Michael

  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New Release
Reply #10 - Aug 28th, 2007 at 8:25am
Print Post  
The ItemDeleted event is actually fired after the item is removed from the schedule in response to the Delete key being pressed, so the exceptions should happen before your handler is invoked. Anyway, I will continue looking for what might go wrong.

Thank you,
Meppy

  
Back to top
 
IP Logged
 
MichaelH
YaBB Newbies
*
Offline


Did you not get the memo?

Posts: 17
Joined: Jun 12th, 2007
Re: New Release
Reply #11 - Aug 28th, 2007 at 8:28am
Print Post  
Yes, I have been tracing through the code.
ItemDeleting fires correctly, then occasionally the application will crash before ItemDeleted is called.

I am continuing to investigate what might be causing the issue, in case it is something my end.

Thanks
Michael
  
Back to top
 
IP Logged
 
MichaelH
YaBB Newbies
*
Offline


Did you not get the memo?

Posts: 17
Joined: Jun 12th, 2007
Re: New Release
Reply #12 - Aug 28th, 2007 at 8:35am
Print Post  
Another quick update:
I placed a breakpoint on ItemDeleting and at this point e.Item is present in Calendar.ItemSelection but not present in Calendar.Schedule.Items.

When the code is continued the error then occurs (presumably because it is missing from Calendar.Schedule.Items).

Thanks
Michael.
  
Back to top
 
IP Logged
 
MichaelH
YaBB Newbies
*
Offline


Did you not get the memo?

Posts: 17
Joined: Jun 12th, 2007
Re: New Release
Reply #13 - Aug 28th, 2007 at 10:50am
Print Post  
I think I have found what causes the problem.

I am manually selecting an item by adding it to the ItemSelection collection.  If I don't do this, then the problem does not occur.

Is there a problem with this method I am using, or should I be using a different method?

Thanks
Michael.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New Release
Reply #14 - Aug 28th, 2007 at 11:50am
Print Post  
ItemSelection is used for this very purpose - to be able to programmatically select items. However, is there a chance to send me the source code performing the item selection? I am still not certain for the exact reason for this exception.

Thanks for the efforts,
Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint