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

An empty line at the beginning of a Text block will be lost

    Details

      Description

      If you insert empty lines at the beginning of a text block, each time you edit and publish (or store as a draft) one of the beginning empty lines will be removed.

      This might be related to EZP-17014, and happens in Internet Explore, Chrome and Firefox.

      Steps to Reproduce

      1. Open the backend
      2. Create a new class named TestClass with the following attributes:
        • *Title*: Text Line
        • *Text*: Text Block
      3. Create a new TestClass object and insert the following text in the text attribute (there are three empty lines at the beginning of the text) and publish it.

         
         
         
        Line One
         
        Line Two
        

      4. Edit the TestClass object and publish it or save is as a draft.
      5. Edit the TestClass object again, and confirm the first empty line is gone.
      6. Save and edit TestClass object again two more times, and confirm all the empty lines at the begging are gone. The empty line between "Line One" and "Line Two" should remain untouched.

      Note: Please notice this issue is related to Text Block, not eZXML Block.

        Activity

        Eduardo Fernandes (Inactive) created issue -
        Eduardo Fernandes (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Confirmed [ 10037 ]
        Eduardo Fernandes (Inactive) made changes -
        Link This issue relates to EZP-17014 [ EZP-17014 ]
        Eduardo Fernandes (Inactive) made changes -
        Description If you insert empty lines at the beginning of a text block, each time you edit and publish (or store as a draft) the document one of the beginning empty lines will be removed.

        This might be related to EZP-17014, and happens in Internet Explore, Chrome and Firefox.

        h3. Steps to Reproduce
        # Open the backend
        # Create a new class named TestClass with the following attributes:
        #* **Title**: Text Line
        #* **Text**: Text Block
        # Create a new TestClass object and insert the following text in the text attribute (there are three empty lines at the beginning of the text) and publish it.
        {code}



        Line One

        Line Two
        {code}
        # Edit the TestClass object and publish it or save is as a draft.
        # Edit the TestClass object again, and confirm the first empty line is gone.
        # Save and edit TestClass object again two more times, and confirm all the empty lines at the begging are gone. The empty line between "Line One" and "Line Two" should remain untouched.
        If you insert empty lines at the beginning of a text block, each time you edit and publish (or store as a draft) the document one of the beginning empty lines will be removed.

        This might be related to EZP-17014, and happens in Internet Explore, Chrome and Firefox.

        h3. Steps to Reproduce
        # Open the backend
        # Create a new class named TestClass with the following attributes:
        #* **Title**: Text Line
        #* **Text**: Text Block
        # Create a new TestClass object and insert the following text in the text attribute (there are three empty lines at the beginning of the text) and publish it.
        {code}



        Line One

        Line Two
        {code}
        # Edit the TestClass object and publish it or save is as a draft.
        # Edit the TestClass object again, and confirm the first empty line is gone.
        # Save and edit TestClass object again two more times, and confirm all the empty lines at the begging are gone. The empty line between "Line One" and "Line Two" should remain untouched.

        ^*Note*: Please notice this issue is related to [Text Block|https://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Datatypes/Text-block], not eZXML Block.^
        Paulo Lopes (Inactive) made changes -
        Status Confirmed [ 10037 ] InputQ [ 10001 ]
        Eduardo Fernandes (Inactive) made changes -
        Description If you insert empty lines at the beginning of a text block, each time you edit and publish (or store as a draft) the document one of the beginning empty lines will be removed.

        This might be related to EZP-17014, and happens in Internet Explore, Chrome and Firefox.

        h3. Steps to Reproduce
        # Open the backend
        # Create a new class named TestClass with the following attributes:
        #* **Title**: Text Line
        #* **Text**: Text Block
        # Create a new TestClass object and insert the following text in the text attribute (there are three empty lines at the beginning of the text) and publish it.
        {code}



        Line One

        Line Two
        {code}
        # Edit the TestClass object and publish it or save is as a draft.
        # Edit the TestClass object again, and confirm the first empty line is gone.
        # Save and edit TestClass object again two more times, and confirm all the empty lines at the begging are gone. The empty line between "Line One" and "Line Two" should remain untouched.

        ^*Note*: Please notice this issue is related to [Text Block|https://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Datatypes/Text-block], not eZXML Block.^
        If you insert empty lines at the beginning of a text block, each time you edit and publish (or store as a draft) one of the beginning empty lines will be removed.

        This might be related to EZP-17014, and happens in Internet Explore, Chrome and Firefox.

        h3. Steps to Reproduce
        # Open the backend
        # Create a new class named TestClass with the following attributes:
        #* **Title**: Text Line
        #* **Text**: Text Block
        # Create a new TestClass object and insert the following text in the text attribute (there are three empty lines at the beginning of the text) and publish it.
        {code}



        Line One

        Line Two
        {code}
        # Edit the TestClass object and publish it or save is as a draft.
        # Edit the TestClass object again, and confirm the first empty line is gone.
        # Save and edit TestClass object again two more times, and confirm all the empty lines at the begging are gone. The empty line between "Line One" and "Line Two" should remain untouched.

        ^*Note*: Please notice this issue is related to [Text Block|https://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Datatypes/Text-block], not eZXML Block.^
        Damien Pobel (Inactive) made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee Damien Pobel [ damien.pobel@ez.no ]
        Damien Pobel (Inactive) made changes -
        Summary Text Block removes a single empty new lines at the beginning of the text in each edit Empty lines at the beginning/end of a Text block are lost
        Damien Pobel (Inactive) made changes -
        Summary Empty lines at the beginning/end of a Text block are lost One empty line at the beginning/end of a Text block are lost
        Damien Pobel (Inactive) made changes -
        Summary One empty line at the beginning/end of a Text block are lost An empty line at the beginning/end of a Text block will be lost
        Damien Pobel (Inactive) made changes -
        Summary An empty line at the beginning/end of a Text block will be lost An empty line at the beginning of a Text block will be lost
        Damien Pobel (Inactive) made changes -
        Status Development [ 3 ] Development review [ 10006 ]
        Damien Pobel (Inactive) made changes -
        Link This issue relates to EZP-17014 [ EZP-17014 ]
        Damien Pobel (Inactive) made changes -
        Status Development review [ 10006 ] Development Review done [ 10028 ]
        Damien Pobel (Inactive) made changes -
        Status Development Review done [ 10028 ] Documentation done [ 10011 ]
        Fix Version/s 5.1 Maintenance [ 12301 ]
        Fix Version/s 5.2 Maintenance [ 12782 ]
        Fix Version/s 5.3.3 [ 13484 ]
        Fix Version/s 5.4-dev [ 13485 ]
        Damien Pobel (Inactive) made changes -
        Component/s Administration Interface [ 10785 ]
        Component/s PlatformUI [ 10301 ]
        Paulo Nunes (Inactive) made changes -
        Status Documentation done [ 10011 ] QA [ 10008 ]
        Assignee Damien Pobel [ damien.pobel@ez.no ] Paulo Nunes [ paulo.nunes@ez.no ]
        Paulo Nunes (Inactive) made changes -
        Assignee Paulo Nunes [ paulo.nunes@ez.no ]
        Status QA [ 10008 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 64027 ] EZ* Development Workflow [ 85246 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 85246 ] EZEE Development Workflow [ 124044 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Eduardo Fernandes (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: