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

Implement XML file size limit for initialdataexport.php

    XMLWordPrintable

Details

    Description

      The bin/initialdataexport.php script creates XML files that must respect a size limit of 30 MB.

      So far, this limit isn't really implemented. The only way is to limit the amount of objects that are exported per file. This isn't sufficient, and may break if the exported content uses large XML text blocks.

      The minimum and most immediate action would be to check the size of generated files, and warn that the limit must be reduced if a file is over 30 MB.

      The good fix would be to estimate the file size during generation, in a pessimistic way, based on the markup length + content length, and write the file when the limit is reached.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bertrand.dunogier@ibexa.co Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: