Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-20779

Same calendar issue persist with calendar edge module v14.0.3.7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: None
    • Component/s: Calendar
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      13.27.1
    • Distro Version:
      14
    • Distro:
      FreePBX Distro

      Description

      Previous issue was created to address a bug with recurring events, FREEPBX-20256, and it was closed as fixed with the release of edge module v14.0.3.7

      I downloaded and installed the edge module and the issue persists. When creating a weekly recurring event from monday to friday, the first monday shows the event, but next mondays are empty.

      I checked the file Freq.php and even though the file date is 12/NOV/2019, the content seems to still be old, as the function that is causing this bad behaviour is still using the wrong code:

      public function findEndOfPeriod($offset)

      { return $this->findStartingPoint($offset, 1); }

      The correct code should be:

      public function findEndOfPeriod($offset)

      { return $this->findStartingPoint($offset, 1, false); }

      In fact, the whole file seems to be different than the file published by the 3rd party developer on its github page, because the affected function is on line 374 on the original code from the developer, but it is on line 363 on the file that is installed with the module.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                arielgrin arielgrin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.