Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-6316

Remove reference to XWiki.XWikiUserTemplate from XWiki.Registration

    XMLWordPrintable

Details

    • Trivial
    • N/A
    • N/A
    • Code

    Description

      XWiki.XWikiUserTemplate was removed, but there is still a reference to it on the registration page:

      ## Pass the name of the template to $xwiki.createUser so any contained information will be passed in.
      #set($field = 
        {'name' : 'template',
          'params' : {
            'type' : 'hidden',
            'value' : 'XWiki.XWikiUserTemplate'
          }
        })
      #set($discard = $fields.add($field))
      

      Prerequisites

      Before starting your task familiarize yourself a bit with XWiki. You can see it in action in the Playground, so you should create an account there and test it a bit.
      Your task might involve actions or applications that are not available on the Playground, so make sure you download and install the latest version of XWiki.

      For questions you can always use the Forum or the IRC channel, see http://dev.xwiki.org/xwiki/bin/view/Community/Discuss

      Try to reproduce the issue described by the task. You should use your browser's Developer Tools to identify and test your solution.

      Once you have reproduced the issue presented in the task, it's the time to identify the location where it needs to be fixed in the code.
      The sources are available at https://github.com/xwiki/xwiki-platform . You should be familiar with using Git locally or you might be able to commit your changes from the GitHub interface.

      The task will give you hints about the component where the code with the problem is located. Identify the file, make the changes and submit a Pull Request for mentors to approve and close the task. Don't forget to add screenshots with before and after your changes.

      Objective

      Remove the unneded code. Make sure this doesn't have other consequences.

      Requirements

      • Knowledge of basic programming
      • Knowledge of HTML
      • Knowledge of XML
      • Knowledge of Git
      • You will encounter concepts like Data Model, Apache Velocity, etc. but you don't need to be familiar with them in advance

      Expected Outcome

      Attachments

        Activity

          People

            DamianArado Mohammad Humayun Khan
            oana.tabaranu Elena-Oana Florea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: