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

From/to Hash assert on empty values are not strict enough

    Details

      Description

      See https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/FieldType/Tests/TextLineTest.php#L229

      Assert are not strict enough on type. null and '' are considered the same.

      Once assert are more accurate, failures need to be fixed en Emails, TextLine and Text blocks fieldtypes.

        Issue Links

          Activity

          Yannick Roger (Inactive) created issue -
          Yannick Roger (Inactive) made changes -
          Field Original Value New Value
          Summary From/to Hash assert on empty values are not done From/to Hash assert on empty values are not strict enough
          Description See https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/FieldType/Tests/TextLineTest.php#L229

          Assert are not strict enough on type. null and '' are considered the same.

          Once assert are more accurate, failures need to be fixed en Emails, TextLine and Text blocks fieldtypes.
          Yannick Roger (Inactive) made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Yannick Roger (Inactive) made changes -
          Status Confirmed [ 10037 ] Backlog [ 10000 ]
          Yannick Roger (Inactive) made changes -
          Status Backlog [ 10000 ] Development [ 3 ]
          Yannick Roger (Inactive) made changes -
          Link This issue discovered while testing EZP-25375 [ EZP-25375 ]
          Yannick Roger (Inactive) made changes -
          Remote Link This issue links to "PR (Web Link)" [ 16153 ]
          Yannick Roger (Inactive) made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Yannick Roger (Inactive) made changes -
          Fix Version/s Engineering tracked issues [ 11179 ]
          Yannick Roger (Inactive) made changes -
          Affects Version/s 16.02 [ 14501 ]
          Yannick Roger (Inactive) made changes -
          Status Development Review [ 10006 ] Backlog [ 10000 ]
          Yannick Roger (Inactive) made changes -
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          Yannick Roger (Inactive) made changes -
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          Yannick Roger (Inactive) made changes -
          Status Backlog [ 10000 ] Development [ 3 ]
          Yannick Roger (Inactive) made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Yannick Roger (Inactive) made changes -
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          Status Development Review [ 10006 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Bertrand Dunogier made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Bertrand Dunogier made changes -
          Fix Version/s 1.7.3 [ 14701 ]
          Fix Version/s 1.9.1 [ 14708 ]
          Fix Version/s 1.10.0 [ 14783 ]
          Bertrand Dunogier made changes -
          Fix Version/s 5.4.10 [ 14640 ]
          Bertrand Dunogier made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 97604 ] EZEE Development Workflow [ 125502 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Yannick Roger (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: