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

Error whilst trying to publish content item with file size restriction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Confirmed
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0-beta1, 2.0.0-rc1, 2.1.0-beta1, 2.5.2, 3.0.0-beta1
    • Fix Version/s: None
    • Component/s: Field types
    • Labels:

      Description

      Preconditions: content type: textline (required), file (non required, nothing is set in max file size)
      Steps - for file field type, but it works the same for image and media
      1. Create content item with content type from preconditions
      2. Fill the textline and upload a file bigger than 5 MB. Click Publish.
      3. Go to admin/content type and edit content type from preconditions: set max file size for file for ex: 1 MB
      4. Go to edit mode of content item created in step 2.
      5. Edit textline.
      6. Click Publish

      Actual result:

      ezfile field is cleared, validation message is displayed.

      Expected result:

      File should not be removed, except when user upload a new one. Validation message is OK.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                barbara.grajczyk@ez.no Barbara Grajczyk
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: