Skip to content

StringDataRefElement does not update correctly #39

@DocMoebiuz

Description

@DocMoebiuz

Steps to reproduce:

  1. Create StringDataRefElement for sim/aircraft/view/acf_ui_name with following settings
  var datarefAircraftName = new StringDataRefElement();
  datarefAircraftName.DataRef = "sim/aircraft/view/acf_ui_name";
  datarefAircraftName.Frequency = 1;
  datarefAircraftName.Value = string.Empty;
  datarefAircraftName.StringLenght = 32;
  1. Load a flight
  2. Oberserve the name provided - It is correct.
  3. Switch to a different plane

Expected result

Subscription provides new name for the loaded aircraft

Actual result

No update, no callback invoked.

The logic that is currently implemented which will trigger the callback does not work as expected.

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