Skip to content

market_mad/s3/import reads READx_LENGTH instead of READ_LENGTH from marketplace template #8194

Closed

Description

@trukhinyuri

Description
In src/market_mad/remotes/s3/import (line 79), the S3 marketplace chunk size attribute is read from XPath MARKETPLACE/TEMPLATE/READx_LENGTH instead of MARKETPLACE/TEMPLATE/READ_LENGTH:

read_length       = xpath(xml, 'MARKETPLACE/TEMPLATE/READx_LENGTH')

Meanwhile, FireEdge (src/fireedge/src/modules/resources/Marketplace/Forms/CreateForm/Steps/Configuration/fieldsS3.js) and the S3 marketplace documentation define the attribute as READ_LENGTH. As a result, a configured READ_LENGTH in the marketplace template is ignored during import and read_length always falls back to DEFAULT_READ_LENGTH (32 MB).

To Reproduce

  1. Create an S3 Marketplace with READ_LENGTH = "64" in its template.
  2. Import an image into the S3 Marketplace (src/market_mad/remotes/s3/import).
  3. Observe that xpath(xml, 'MARKETPLACE/TEMPLATE/READx_LENGTH') returns nil and import uses DEFAULT_READ_LENGTH (32 MB).

Expected behavior
src/market_mad/remotes/s3/import should read MARKETPLACE/TEMPLATE/READ_LENGTH (with a fallback to MARKETPLACE/TEMPLATE/READx_LENGTH for backward compatibility).

Details

  • Affected Component: S3 Marketplace driver (src/market_mad/remotes/s3/import)
  • Version: master and 7.0.1

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)

Activity

  1. added a commit that references this issue on Oct 19, 2026
  2. added a commit that references this issue on Nov 2, 2026
  3. added this to the Release 7.4.2 milestone on Nov 2, 2026
  4. added theissue type on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions