CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.6 Release Testing »
  • Recurring event - 4.6.alpha4 - number of repeats is counter-intuitive [FIXED]
Pages: [1]

Author Topic: Recurring event - 4.6.alpha4 - number of repeats is counter-intuitive [FIXED]  (Read 875 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Recurring event - 4.6.alpha4 - number of repeats is counter-intuitive [FIXED]
February 03, 2015, 02:57:45 pm
In 4.6.alpha4, when I try to create an event with 5 occurrences I get 6. This is counter-intuitive and breaks the "like Google Calendar" pattern.

The User Interface asks me how many "occurrences" I want and the system interprets that number as the number of "repeats" or "children" it gives me.

From an end user point of view, we think in terms of "occurrences". We don't think in terms of a "parent" event and "children" - we think in terms of "first" and "subsequent" events.

Please change this to work like Google Calendar repeating events.

« Last Edit: March 28, 2015, 03:46:05 am by ken »

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Recurring event - 4.6.alpha4 - number of repeats is counter-intuitive
March 05, 2015, 06:22:55 pm
That's a really good point. The easiest fix might be to just change the field labels.
Try asking your question on the new CiviCRM help site.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Recurring event - 4.6.alpha4 - number of repeats is counter-intuitive
March 05, 2015, 06:36:04 pm
Like this :)
https://github.com/civicrm/civicrm-core/pull/5322
Try asking your question on the new CiviCRM help site.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Recurring event - 4.6.alpha4 - number of repeats is counter-intuitive
March 06, 2015, 11:26:35 am
Coleman / Ken - I tested a recurring activity: weekly, stop after 5 occurrences.

Without the the patch in PR 5321:
- Confirm dates screen shows the 5 'additional' occurrences to be created.
- After save, I have a total of 6 activities.

With the patch applied:
- Confirm dates screen shows only the 4 'additional' occurrences to be created.
- After save, I have a total of 5 activities.

IF we agree that a total of 5 activities should be created after save (as happens w/ the patch) - then I think the Confirm Dates list should show all 5. Currently, it says "A recurring set will be created with the following dates" - but only lists the 4 'children'. This seems confusing since I requested 5 occurrences.
Protect your investment in CiviCRM by  becoming a Member!

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: Recurring event - 4.6.alpha4 - number of repeats is counter-intuitive
March 06, 2015, 08:09:19 pm
Dave, I agree. Good point.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Recurring event - 4.6.alpha4 - number of repeats is counter-intuitive
March 07, 2015, 01:57:53 pm
I've updated the PR to include the original event/activity in the preview popup.
Try asking your question on the new CiviCRM help site.

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: Recurring event - 4.6.alpha4 - number of repeats is counter-intuitive
March 13, 2015, 12:54:32 am
Just tested 4.6.beta3 and "after 4 occurrences" creates 4 additional events (5 in total) and the preview only shows the 4 new events. Looking at your PR I guess that fix will be in the next beta.

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: Recurring event - 4.6.alpha4 - number of repeats is counter-intuitive
March 28, 2015, 03:45:46 am
Fixed in 4.6.beta4

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.6 Release Testing »
  • Recurring event - 4.6.alpha4 - number of repeats is counter-intuitive [FIXED]

This forum was archived on 2017-11-26.