Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13685

"Manage Extension" screen should use "<" to determine upgradeability

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.7, 4.4.0
    • Fix Version/s: 4.3.8, 4.4.1
    • Component/s: Extension System
    • Labels:
      None

      Description

      If the local system has extension v1.2, and if the extension directory lists v1.1, then the "Manage Extensions" screen will erroneously prompt the administrator to upgrade from v1.2 to v1.1. This is because the CRM/Admin/Page/Extensions/Main.tpl tests this conditional:

      {if ... $row.version != $remoteExtensionRows[$extKey].version}

      The screen should actually use version_compare() to determine whether the locally installed version is older than the remote version.

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m