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

Documentation URLs should not include CiviCRM version info

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.32
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      Summary

      In CiviCRM 4.6, several places in the UI point users to incorrect URLs for documentation pages. These URLs are incorrect because they have current in the URL and should not. The URL should not have current in it because (a) this is the 4.6 branch, and (b) the version shouldn’t be specified for each URL since the docURL function handles that.

      Steps to reproduce

      Here is one example of this (but there are several others too):

      1. Begin with a 4.6 installation (this bug doens’t affect 4.7)
      2. Go to the Scheduled Reminders page /civicrm/admin/scheduleReminders?reset=1
      3. Copy the documentation link in the help text at the top of the page.
      4. Expect this link to be https://docs.civicrm.org/user/en/4.6/email/scheduled-reminders
      5. Observe this link to be https://docs.civicrm.org/user/en/4.6/current/email/scheduled-reminders. (Note 4.6/current instead of 4.6)
      6. Load the link in your browser.
      7. Expect to arrive at a docs page.
      8. Observe a redirection error.

      Note: the documentation publisher really should be giving a 404 error for a request like this, but docs-publisher has an issue with handling redirection, unrelated to this ticket.

        Attachments

          Activity

            People

            • Assignee:
              seanmadsen Sean Madsen
              Reporter:
              seanmadsen Sean Madsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: