Skip to content

Saving an inactive configuration set can drop values that match another set's placeholder #10589

Backlog

Description

@zubSero

How is Path of Building expected to behave?

Every config set keeps its own entered values after saving and reopening the build, whichever set was active when it was saved.

How does Path of Building behave?

When saving, the values of every set are compared with the defaults of the set that is active at that moment. A value entered in an inactive set is dropped from the save if it happens to be equal to the active set's placeholder for that field.

There is a second, smaller problem on the loading side: a placeholder with a text value is loaded as if it had been entered.

How to reproduce the issue

  1. Import the build below. In config set A the placeholder for Sigil of Power's "Stages" is 3. In set B the placeholder is 1 and 3 has been entered.
  2. With A active, save the build.
  3. Reopen it and switch to B. The entered 3 is gone and the field shows its placeholder of 1 again.

PoB for PoE1 build code

eNqVUstOwzAQvPMVli89QR9cQEpStUFUPfQhRYIj2jqb1Kpjl3idwt_jpGkK4QIXe_Yxs-uRg-lHoViFpZVGh4Px3WjAUAuTSp2HA0fZ7cNgGt0EW6D9Jps7qepKFDSIEZQ50kvL5vdvI84UVqhC_uihUGDtGgoM-asksecMrECdxtf82mjkrACpEyMOSIvSuGPIx5xVEk8rk_qeeLN-Xi44G0ZBcpBKWQaCZIVNkCDV7W3JR0ymDZ8kKU9-wgycokuDfxzsFPoWKl07eXZVa5i9XAxK2POMBRZM-72TI4qQJzKXipmMbc0JS85yLJZeeIUEKRAMl4SFHS7qoxHyqKFsspZQQSlBU036WbB1--90a-3EW_vuQEn6DLnHvScJ43TjSW3YefLl9vZcoI2C2OhM5q2Z56Bzswt7ds58batA4N6oFMvGjZDbb2smBDlazrQrdlj6T3HeoxPsa0867bnXXuqjoz-r_m-T8a9NWuxB739_Ad2oC2E=

Fix in #10612.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions