Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41953

Relax component name rules slightly to allow more than one digit at the end

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.6
    • 2.5.2
    • Libraries
    • 2
    • BACKEND Sprint 5

      The regexp on PARAM_COMPONENT is currently:

      /^[a-z]+(_[a-z][a-z0-9_]*)?[a-z0-9]$/
      

      Would it be possible to change it to:

      /^[a-z]+(_[a-z][a-z0-9_]*)?[a-z0-9]+$/
      

      The reason is that at Totara we have a module called 'feedback360' which doesn't meet the component criteria.

      It seems strange that you can have a module called 'feedback3' but not 'feedback360'.

            skodak Petr Skoda
            simoncoggins Simon Coggins
            Frédéric Massart Frédéric Massart
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.