Skip to content

Incorrect file source for images in MIGX-grid inside another MIGX-grid #434

@Ruslan-Aleev

Description

@Ruslan-Aleev
  1. I create a TV for the image (standard TV image in MODX), set the file source for the TV, and specify the TV in the MIGX Form Tabs via the inputTV for the MIGX-TV grid.

migx_source_1

  1. Then I set this MIGX-TV through inputTV in another MIGX-TV grid.

migx_source_2

  1. So, image previews ("renderer": "this.renderImage") when adding/editing an element are not displayed correctly.
    This happens because the file source is set to standard (from the system settings), and not the TV source (this can be seen by viewing the element code).

migx_source_3

Probably some of the functions are not working correctly.

https://github.com/Bruno17/MIGX/blob/master/core/components/migx/model/migx/migx.class.php#L1695

https://github.com/Bruno17/MIGX/blob/master/core/components/migx/model/migx/migx.class.php#L1707

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions