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

Review recent service names violating service naming rules

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9
    • Fix Version/s: None
    • Component/s: General, Web Services
    • Labels:
      None
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      This comes from MDLSITE-6096 and aims to ensure that all the service names do follow the official naming completion.

      At very least...

      1) Outcome 1: We must ensure that, with 3.9, we aren't introducing new incorrect service names.
      2) Outcome 2: We must ensure that all the incorrect service names in core are fixed (surely with a deprecation period or whatever). I'd move this to another issue.

      Ciao

      This can be considered the initial list for 3.9 (changes since 3.8.0):

      $ git diff v3.8.0 -- '*/db/services.php' | ag '^\+ +[^=]+=> +(array\(|\[)$'
      +    'core_course_add_content_item_to_user_favourites' => array(
      +    'core_course_remove_content_item_from_user_favourites' => array(
      +    'core_course_get_course_content_items' => array(
      +    'core_course_toggle_activity_recommendation' => array(
      +    'core_table_dynamic_fetch' => [
      +    'core_xapi_statement_post' => [
      +    'core_contentbank_delete_content' => [
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: