Skip to content

app.verify.powerline.resistance missing in lang.properties #48

Description

@ANigam123

If LC data is present in the OCMF data, the software throws
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key app.verify.powerline.resistance.

The property is present in lang_de.properties but not in lang.properties
On inspecting the code found the following snippet :

final LossCompensation lc = ocmfPayloadData.getLC();
if (lc != null) {
lossCompensation = lc.LR + " " + lc.LU;
if (lc.LN != null && lc.LN.length() > 0) {
lossCompensation += " (" + lc.LN + ")";
}
}

if (lossCompensation != null) {
addData.put(Translator.get("app.verify.powerline.resistance"), lossCompensation);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions