Moodle
  1. Moodle
  2. MDL-38888

Publish forms display setType warning

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Hub
    • Labels:
    • Rank:
      48984

      Description

      1- install local_hub plugin on your site
      2- in local/hub/siteregistration.php, comment:

      //    throw new moodle_exception('cannotregisternotavailablesite', 'local_hub', $url);
      

      3- Admin > Hub > Setttings > Enable the hub
      On your site:
      4- Admin > Server > Hub > enter your hub url ($CFG->wwwroot)
      5- Go to a course. Course Admin > Publish > Advertise
      the all process contains warnings
      6- Course Admin > Publish > Share
      the all process contains warnings. Not that during backup part the parameters are propagated till the end of the backup process in order to be sent by the final web service call. This is the tricky part.

        Issue Links

          Activity

          Hide
          Eloy Lafuente (stronk7) added a comment -

          (sent to integration. it includes de default RAW catcher... that i don't like much, but better that nothing). Thanks!

          Show
          Eloy Lafuente (stronk7) added a comment - (sent to integration. it includes de default RAW catcher... that i don't like much, but better that nothing). Thanks!
          Hide
          Eloy Lafuente (stronk7) added a comment -

          one little thing... shouldn't real user names (publisher name, and contributors) be PARAM_NOTAGS ? At least that's the way we handle fist/second names in other use forms and, clearly, people is not going to use the multilang syntax there. Other PARAM_TEXT in the patch look ok because they are titles, candidate for multilang.

          Ciao

          Show
          Eloy Lafuente (stronk7) added a comment - one little thing... shouldn't real user names (publisher name, and contributors) be PARAM_NOTAGS ? At least that's the way we handle fist/second names in other use forms and, clearly, people is not going to use the multilang syntax there. Other PARAM_TEXT in the patch look ok because they are titles, candidate for multilang. Ciao
          Hide
          Jérôme Mouneyrac added a comment - - edited

          I change them, wait... done!

          Show
          Jérôme Mouneyrac added a comment - - edited I change them, wait... done!
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Integrated, thanks!

          Show
          Eloy Lafuente (stronk7) added a comment - Integrated, thanks!
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Nobody tested this, linked MDLQAs will.

          Show
          Eloy Lafuente (stronk7) added a comment - Nobody tested this, linked MDLQAs will.
          Hide
          Jérôme Mouneyrac added a comment -

          thanks Eloy.

          Show
          Jérôme Mouneyrac added a comment - thanks Eloy.
          Hide
          Dan Poltawski added a comment -

          Thanks! You're changes are now spread to the world through this git and our source control repositories.

          No time to rest though, we've got days to make 2.5 the best yet!

          ciao

          Show
          Dan Poltawski added a comment - Thanks! You're changes are now spread to the world through this git and our source control repositories. No time to rest though, we've got days to make 2.5 the best yet! ciao

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: