Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29331

Custom Tags added in Legacy Bridge gets rendered inside paragraph in the new stack

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: Customer request
    • Component/s: Legacy bridge
    • Labels:
      None

      Description

      Multiple Custom Tags added one after the other inside text editor in Legacy Bridge are rendered in the new stack wrapped around paragraph tag (using ez_render_field inside twig template).

      Steps to reproduce:
      1. Start creating a new article.
      2. Inside XmlText body section add multiple custom tags one after another. Publish article.
      3. Create XSL templates for custom tags in new stack.
      4. Render article body in twig using new stack

      {{ ez_render_field(content, 'body') }}
      

      Result
      In the new stack, custom tags will be rendered inside unwanted paragraph tag.

      Example:

      <div class="ezxmltext-field">
          <p>
              <div>
                  custom tag test
              </div>
              <div>
                  custom tag test
              </div>
              <div>
                  custom tag test
              </div>
          </p>
      </div>
      

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          9m 57s 1 mateusz.biniek@ez.no 22/Jun/18 4:37 PM
          Confirmed Confirmed InputQ InputQ
          7s 1 mateusz.biniek@ez.no 22/Jun/18 4:37 PM
          InputQ InputQ Development Development
          166d 21h 37m 1 mateusz.biniek@ez.no 06/Dec/18 1:15 PM
          Development Development Development Review Development Review
          3s 1 mateusz.biniek@ez.no 06/Dec/18 1:15 PM
          Development Review Development Review Documentation Review done Documentation Review done
          4d 2h 50m 1 mateusz.biniek@ez.no 10/Dec/18 4:06 PM
          Documentation Review done Documentation Review done QA QA
          7d 19h 12m 1 mateusz.biniek@ez.no 18/Dec/18 11:18 AM
          QA QA QA Done QA Done
          5s 1 mateusz.biniek@ez.no 18/Dec/18 11:18 AM
          QA Done QA Done Closed Closed
          9s 1 mateusz.biniek@ez.no 18/Dec/18 11:18 AM

            People

            • Assignee:
              Unassigned
              Reporter:
              Mateusz Bieniek
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: