Skip to content

Rewrite DataHelper.GetUpdatedDataValues to use field accessors that support indexing into repeating groups #1227

Open
@ivarne

Description

@ivarne

Description of the bug

If you define something like this for presentationFields in applicationmetadata, the current reflection code in DataHelper doesn't understand the indexing into a list of eiendom.

"presentationFields": [
  {
    "id": "Presentasjonsfelt-Adresse",
    "path": "eiendomByggested.eiendom[0].adresse.adresselinje1",
    "dataTypeId": "DS"
  }
],

Should be a fairly simple fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions