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

Use ez_is_field_empty to do the checks in content_fields.html.twig

    Details

    • Sprint:
      Ventoux Sprint 5

      Description

      On the ezimage fieldtype, the check :

      {% block ezimage_field %}
      {% spaceless %}
      {% if field.value %}
      

      Doesn't work and displays invalid elements.

      Instead of doing a quick fix on this specific field (like it has been done on some other ones), we cloud use: https://confluence.ez.no/display/EZP52/ez_is_field_empty

        Issue Links

          Activity

          Yannick Roger (Inactive) logged work - 06/Feb/14 9:17 AM
          • Time Spent:
            6 hours
             
            <No comment>
          Yannick Roger (Inactive) logged work - 07/Feb/14 1:00 AM
          • Time Spent:
            6 hours
             

            .

          Yannick Roger (Inactive) logged work - 10/Feb/14 1:00 AM
          • Time Spent:
            6 hours
             

            unit test.

          Yannick Roger (Inactive) logged work - 11/Feb/14 1:00 AM
          • Time Spent:
            6 hours
             

            unit test.

          Marcos Loureiro (Inactive) logged work - 14/Feb/14 5:36 PM
          • Time Spent:
            4 hours, 30 minutes
             

            testing
            writing test
            automating

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 4 hours, 30 minutes
                3d 4h 30m

                  Agile