Details

    • Fix Priority:
      3

      Description

      Description

      Changing field locales of Web Content sometimes fails to work, throwing errors in the javascript console.

      Reproduction Steps

      1. Add a new site and the default language of this site should be English.
      2. Add a structure with text field and a template to display this structure. The default language of this structure should be English.
      3. Add a web content using the structure, and put some values in the text field. The default language of this web content should be English.
      4. Add a web content using the Basic Web Content default structure. The default language of this web content should be English.
      5. Change the default language of this site to Spanish.
      6. Try editing the web content in Step#3, changing the locale of the Summary to English and then to Spanish. Everything should be working. Don't save.
      7. Try editing the web content in Step#4, changing the locale of the Summary to English and then to Spanish. Everything should be working. Don't save.
      8. Return to editing the web content in Step#3, changing the locale of the Summary to English.

      Expected Result: The locale changes.
      Actual Result: Nothing changes and the web console will show the following error:

      Uncaught TypeError: Cannot read property 'getHTML' of null

      Reproduced on master: 4a90689321fd8f46902a1e68f1b9307c4fc262d5

      Clearing the browser cache will remove the error.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Days since last comment:
                3 weeks, 4 days ago