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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 7.3-milestone-1
    • 5.0-milestone-1
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: