Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3845

Extension Generator: Escape language definitions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.12.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      If the module description or a label contains non-escaped characters, it will break the language file, causing the "Settings > Company > Modules > Available" view not to load due to a syntax error.

      For example, if you use "Blesta's Module" as the module description, the resulting language file would be:

      <?php
      /**
       * en_us language for the Test Module module.
       */
      // Basics
      $lang['TestModule.name'] = 'Test Module';
      $lang['TestModule.description'] = 'Blesta's Module';
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            abdy Abdy Franco
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              17/Sep/20

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 36 minutes
              36m

                Agile