Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-572

Adding more defaults to language adding form

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.3-RC1
    • Fix Version/s: 5.1.1-B1
    • Component/s: Localization
    • Labels:
      None
    • Additional information:
      Hide

      Charset is missing during new language adding resulting failure to save non-english text entered on form.

      For example type to type "Русский" as "Local Name" field value during language creation. This will result given required field being empty when you try to edit that language later.

      Show
      Charset is missing during new language adding resulting failure to save non-english text entered on form. For example type to type "Русский" as "Local Name" field value during language creation. This will result given required field being empty when you try to edit that language later.
    • External issue ID:
      722
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      The issue comes up, when web-server (e.g. Apache) default served charset is not "utf-8". Unfortunately we can't rely on this setting here and this is what is proposed to do:

      1. As Default CHARSET for Languages we put utf-8 (will be pre-filled on the form)

      2. Always put utf-8 in the HTML when you are adding a NEW language and "<inp2:lang_Field name="Charset"/>" is empty (on the first form load). This will help to prevent default Webserver charset to be applied when

      [b]<meta http-equiv="content-type" content="text/html; charset="/>[/b] (EMPTY).

      3. Additionally for convenience of saving time I propose to set Default values for:

      a. Date Format [same as date ouput]
      b. Time Format: [same as time ouput]
      c. Decimal Point: .
      d. MOVE "Icon URL" and "Icon URL (disabled)" before "User Documentation URL" field - since these are rarely filled with values.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: