HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Calendar creating negative time

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#96875 (In Topic #19223)
Avatar

Well-settled

I don't even know how to explain this one, but it started happening the other day...

I will create an event, entering the dates, times and recurrences. When I save it, it changes the end date, backing it up from a few days to a week, totally screw up the recurrence (usually) and be generally wonky.

I've linked an example so you can see what it's doing:

http://www.spiritfill.com/site/index.php?page=calendar&type=view&id=meetup-for-interfaith_6&day=2013-05-06&date=2013-05&back=month

The items that I entered before a few days ago scheduled up just fine. The only change that I made in the configuration in the last few days has been displaying the calender Sun-sat and changing to sendmail and queuing mail/newsletters going out.

Any ideas?
Back to the top
 
Posted
Rating:
#96877
Avatar



Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#96931
Avatar

Well-settled

Thank you Chris. Unfortunately is would seem that the hotfix is not correcting this problem.

I uploaded the new files today and then tried to correct some of the weird recurrences (also tested entering a new recurring event with the same results) and it still is being saved with the event ending before it starts.
Back to the top
 
Posted
Rating:
#96932
Avatar

It's unlikely it's being saved like that, it's probably an issue with how the recurrences are calculated (which is done by on-the-fly extrapolation).

Please bring this back up if the next patch release has the issue. Sorry for the inconvenience, we're behind on putting a new release out and I know a few calendar bugfixes happened, but they may not all be in the hotfix(es).

However if it's urgent, please let me know and I'll have a closer look with more priority.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97288
Avatar

Well-settled

Okay, new patch is out and the same problem is occurring. Whenever I use the monthly recurrence the calendar is generating an end time that is before the start time when I save it.
Back to the top
 
Posted
Rating:
#97289
Avatar

Thanks for re-testing! I will have a look at this very soon.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97290
Avatar

Well-settled

Unfortunately my site is dead in the water without a properly working calendar.

 I'll put in a work ticket.
Back to the top
 
Important!
Posted
Rating:
#97323
Avatar

Automated fix message

Clarity said

I don't even know how to explain this one, but it started happening the other day...

I will create an event, entering the dates, times and recurrences. When I save it, it changes the end date, backing it up from a few days to a week, totally screw up the recurrence (usually) and be generally wonky.

I've linked an example so you can see what it's doing:

http://www.spiritfill.com/site/index.php?page=calendar&type=view&id=meetup-for-interfaith_6&day=2013-05-06&date=2013-05&back=month

The items that I entered before a few days ago scheduled up just fine. The only change that I made in the configuration in the last few days has been displaying the calender Sun-sat and changing to sendmail and queuing mail/newsletters going out.

Any ideas?
This issue has been filed on the tracker as issue #1247, with a fix.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Important!
 
Posted
Rating:
#97324
Avatar

Hopefully that's sorted it. My mind melts each time I have to work on the calendar code, there are so many little factors that come together in the calculations.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97438
Avatar

Well-settled

I respect the fact that the calendar is time consuming (and brain melting). That said, I think that the end time being 2,192 days before the start time is a little problem. :)

In short, it's still happening… just a different number.
Back to the top
 
Posted
Rating:
#97491
Avatar

Hi,

I'm looking at this today. I'll see if we can construct a better test set for the calendar to stop things breaking, as there are so many calculations, it's easy to fix one and accidentally break another.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97508
Avatar

Okay, I've restructured the code and constructed about 60 automated test cases / 20 test groups, and this has allowed me to find and fix a few bugs and know it's not breaking something else in the process :). Hopefully no more brain melting now.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97509
Avatar

I've updated the hotfix above with the new changes.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris Graham)  
Rating:
#97607
Avatar

Well-settled

O frabjous day! Callooh! Callay!

Works like a charm now.  :thumbs:

Thanks so much!
Back to the top
 
Posted
Rating:
#97610
Avatar

Thank God, lol.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97617
Avatar

Well-settled

Ummm… now that we're done Thanking God and quoting the Jabberwocky…

I checked the next month after correcting one of the events, and now it is showing up every single day of the next month.


July 2013 - Spirit Fill

 :'(
Back to the top
 
Posted
Rating:
#97618
Avatar

Ack. Could you tell me exactly what the settings for the event are? (skipping any defaults)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97621
Avatar

I know these continued problems must be quite frustrating. Unfortunately the calendar is both very complex, these recurrence settings quite new, and it's not so much as used as other parts of the system. I promise we'll get it right though. I'm going to try and fix this right now.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97625
Avatar

Well-settled

Okay, here are the pics:

Nothing unusual in the event text... will include if you ask.


 Advanced section: Eastern Time zone, is shared and Medium priority (though I would LOVE to get rid of the priority... not useful.)


This problem seems to only be happening in the Event type "Circles and Gatherings" 

If there are other setting that you would like me to list, please let me know.

Thanks.
Back to the top
 
Posted
Rating:
#97626
Avatar

The main thing is whether the "Do timezone conversions" event setting (under Advanced) is on or off.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Expand