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

In an empty wiki, when editing a user's profile, the timezone is not a select box

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0-milestone-1
    • Fix Version/s: 7.3-milestone-1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The reason is because the timezone select is defined in the Admin Application, as a custom display of the XWikiPreferences#timezone field (This is bad... Custom displays should be left to users.)

      When on an empty wiki, i.e. without the Admin app, the XWikiPreferences class is created from java in oldcore and doesn't have the custom display for the timezone.

      Solution 1: Modify the Java generation of XWikiPreferences to contain the custom display code in Java too.

      Solution 2 (best): Create a new Timezone class property type and a displayer.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: