JSON export of objects incorrect: Not all entries are exported correctly

Hello together,

maybe you could help me there, too.
Since this is a faulty export, I recommend a timely fix here as well.

If I export 2 different objects of the same type as JSON, 2 objects are exported. Unfortunately the JSON is wrong at this point as it contains 2 of the same objects.

I would expect both objects to be exported correctly.

Scenario:

  • I am on an “Object type list”, which contains 2 different objects
  • I click on the “Export” button and select “JSON (Raw Export)”.
  • Then I open the exported file and get the following

JSON:

[
  {
    "object_id": 123,
    "active": true,
    "type_label": "Example",
    "fields": [
      {
        "name": "my-field",
        "value": "entry 1"
      }
    ]
  },
  {
    "object_id": 124,
    "active": true,
    "type_label": "Example",
    "fields": [
      {
        "name": "my-field",
        "value": "entry 1"
      }
    ]
  }
]

I would have expected the following JSON as an export:

[
  {
    "object_id": 123,
    "active": true,
    "type_label": "Example",
    "fields": [
      {
        "name": "my-field",
        "value": "entry 1"
      }
    ]
  },
  {
    "object_id": 124,
    "active": true,
    "type_label": "Example",
    "fields": [
      {
        "name": "my-field",
        "value": "entry 2"
      }
    ]
  }
]

FYI: I’m using the Docker image of the “nethinks/datagerry:latest” - pull just made today.

Thank you very much in advance!

First of all, we welcome you to our community!

Thank you for your feedback. We will take up all points and publish them with the next bugfix release (1.5.3).

With kind regards

1 Like

Thank you for the warm welcome to your community :slight_smile:

That sounds great with the planned bugfix for the release.
May I ask what your release cycles are?

Kind regards

Our bugfix releases are published in an interval of 2 weeks.

1 Like

Thank you very much, it works :slight_smile: