Skip to content

Commit

Permalink
Handle 'about' attributes properly when saving multipart zip
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Marston <[email protected]>
  • Loading branch information
richardmarston committed Aug 8, 2022
1 parent 802b26f commit 5110ec2
Show file tree
Hide file tree
Showing 487 changed files with 539 additions and 530 deletions.
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/ACDCConverter.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ class ACDCConverter extends ConductingEquipment {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!ACDCConverter.isMemberAttribute(attribute)) {
if (!ACDCConverter.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class ACDCConverter: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/ACDCConverterDCTerminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ACDCConverterDCTerminal extends DCBaseTerminal {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!ACDCConverterDCTerminal.isMemberAttribute(attribute)) {
if (!ACDCConverterDCTerminal.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class ACDCConverterDCTerminal: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/ACDCTerminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class ACDCTerminal extends IdentifiedObject {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!ACDCTerminal.isMemberAttribute(attribute)) {
if (!ACDCTerminal.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class ACDCTerminal: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/ACLineSegment.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class ACLineSegment extends Conductor {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!ACLineSegment.isMemberAttribute(attribute)) {
if (!ACLineSegment.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class ACLineSegment: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/Accumulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Accumulator extends Measurement {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!Accumulator.isMemberAttribute(attribute)) {
if (!Accumulator.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class Accumulator: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AccumulatorLimit.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class AccumulatorLimit extends Limit {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AccumulatorLimit.isMemberAttribute(attribute)) {
if (!AccumulatorLimit.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AccumulatorLimit: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AccumulatorLimitSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class AccumulatorLimitSet extends LimitSet {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AccumulatorLimitSet.isMemberAttribute(attribute)) {
if (!AccumulatorLimitSet.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AccumulatorLimitSet: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AccumulatorReset.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class AccumulatorReset extends Control {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AccumulatorReset.isMemberAttribute(attribute)) {
if (!AccumulatorReset.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AccumulatorReset: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AccumulatorValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class AccumulatorValue extends MeasurementValue {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AccumulatorValue.isMemberAttribute(attribute)) {
if (!AccumulatorValue.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AccumulatorValue: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/ActivePower.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class ActivePower extends BaseClass {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!ActivePower.isMemberAttribute(attribute)) {
if (!ActivePower.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class ActivePower: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/ActivePowerLimit.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class ActivePowerLimit extends OperationalLimit {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!ActivePowerLimit.isMemberAttribute(attribute)) {
if (!ActivePowerLimit.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class ActivePowerLimit: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/ActivePowerPerCurrentFlow.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class ActivePowerPerCurrentFlow extends BaseClass {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!ActivePowerPerCurrentFlow.isMemberAttribute(attribute)) {
if (!ActivePowerPerCurrentFlow.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class ActivePowerPerCurrentFlow: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/ActivePowerPerFrequency.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class ActivePowerPerFrequency extends BaseClass {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!ActivePowerPerFrequency.isMemberAttribute(attribute)) {
if (!ActivePowerPerFrequency.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class ActivePowerPerFrequency: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/Analog.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Analog extends Measurement {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!Analog.isMemberAttribute(attribute)) {
if (!Analog.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class Analog: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AnalogControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class AnalogControl extends Control {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AnalogControl.isMemberAttribute(attribute)) {
if (!AnalogControl.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AnalogControl: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AnalogLimit.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class AnalogLimit extends Limit {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AnalogLimit.isMemberAttribute(attribute)) {
if (!AnalogLimit.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AnalogLimit: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AnalogLimitSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class AnalogLimitSet extends LimitSet {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AnalogLimitSet.isMemberAttribute(attribute)) {
if (!AnalogLimitSet.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AnalogLimitSet: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AnalogValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class AnalogValue extends MeasurementValue {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AnalogValue.isMemberAttribute(attribute)) {
if (!AnalogValue.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AnalogValue: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AngleDegrees.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class AngleDegrees extends BaseClass {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AngleDegrees.isMemberAttribute(attribute)) {
if (!AngleDegrees.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AngleDegrees: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AngleRadians.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class AngleRadians extends BaseClass {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AngleRadians.isMemberAttribute(attribute)) {
if (!AngleRadians.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AngleRadians: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/ApparentPower.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class ApparentPower extends BaseClass {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!ApparentPower.isMemberAttribute(attribute)) {
if (!ApparentPower.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class ApparentPower: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/ApparentPowerLimit.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class ApparentPowerLimit extends OperationalLimit {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!ApparentPowerLimit.isMemberAttribute(attribute)) {
if (!ApparentPowerLimit.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class ApparentPowerLimit: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/Area.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Area extends BaseClass {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!Area.isMemberAttribute(attribute)) {
if (!Area.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class Area: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AsynchronousMachine.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class AsynchronousMachine extends RotatingMachine {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AsynchronousMachine.isMemberAttribute(attribute)) {
if (!AsynchronousMachine.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AsynchronousMachine: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AsynchronousMachineDynamics.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class AsynchronousMachineDynamics extends RotatingMachineDynamics {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AsynchronousMachineDynamics.isMemberAttribute(attribute)) {
if (!AsynchronousMachineDynamics.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AsynchronousMachineDynamics: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AsynchronousMachineEquivalentCircuit.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class AsynchronousMachineEquivalentCircuit extends AsynchronousMachineDynamics {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AsynchronousMachineEquivalentCircuit.isMemberAttribute(attribute)) {
if (!AsynchronousMachineEquivalentCircuit.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AsynchronousMachineEquivalentCircuit: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AsynchronousMachineKind.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class AsynchronousMachineKind extends BaseClass {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AsynchronousMachineKind.isMemberAttribute(attribute)) {
if (!AsynchronousMachineKind.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AsynchronousMachineKind: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class AsynchronousMachineTimeConstantReactance extends AsynchronousMachineDynami

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AsynchronousMachineTimeConstantReactance.isMemberAttribute(attribute)) {
if (!AsynchronousMachineTimeConstantReactance.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AsynchronousMachineTimeConstantReactance: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/AsynchronousMachineUserDefined.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class AsynchronousMachineUserDefined extends AsynchronousMachineDynamics {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!AsynchronousMachineUserDefined.isMemberAttribute(attribute)) {
if (!AsynchronousMachineUserDefined.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class AsynchronousMachineUserDefined: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/BaseVoltage.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class BaseVoltage extends IdentifiedObject {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!BaseVoltage.isMemberAttribute(attribute)) {
if (!BaseVoltage.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class BaseVoltage: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/BasicIntervalSchedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class BasicIntervalSchedule extends IdentifiedObject {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!BasicIntervalSchedule.isMemberAttribute(attribute)) {
if (!BasicIntervalSchedule.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class BasicIntervalSchedule: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/Bay.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Bay extends EquipmentContainer {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!Bay.isMemberAttribute(attribute)) {
if (!Bay.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class Bay: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/Boolean.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Boolean extends BaseClass {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!Boolean.isMemberAttribute(attribute)) {
if (!Boolean.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class Boolean: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/Breaker.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Breaker extends ProtectedSwitch {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!Breaker.isMemberAttribute(attribute)) {
if (!Breaker.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class Breaker: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/BusNameMarker.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class BusNameMarker extends IdentifiedObject {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!BusNameMarker.isMemberAttribute(attribute)) {
if (!BusNameMarker.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class BusNameMarker: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/BusbarSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class BusbarSection extends Connector {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!BusbarSection.isMemberAttribute(attribute)) {
if (!BusbarSection.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class BusbarSection: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/Capacitance.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Capacitance extends BaseClass {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!Capacitance.isMemberAttribute(attribute)) {
if (!Capacitance.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class Capacitance: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/CapacitancePerLength.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class CapacitancePerLength extends BaseClass {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!CapacitancePerLength.isMemberAttribute(attribute)) {
if (!CapacitancePerLength.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class CapacitancePerLength: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/Command.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class Command extends Control {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!Command.isMemberAttribute(attribute)) {
if (!Command.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class Command: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/Conductance.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Conductance extends BaseClass {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!Conductance.isMemberAttribute(attribute)) {
if (!Conductance.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class Conductance: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/ConductingEquipment.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ConductingEquipment extends Equipment {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!ConductingEquipment.isMemberAttribute(attribute)) {
if (!ConductingEquipment.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class ConductingEquipment: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/Conductor.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Conductor extends ConductingEquipment {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!Conductor.isMemberAttribute(attribute)) {
if (!Conductor.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class Conductor: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
2 changes: 1 addition & 1 deletion cimmenu/cgmes/src/ConformLoad.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class ConformLoad extends EnergyConsumer {

static read(object) {
Object.keys(object).forEach((attribute) => {
if (!ConformLoad.isMemberAttribute(attribute)) {
if (!ConformLoad.isMemberAttribute(attribute) && !(attribute == "about")) {
console.error("Unexpected attribute for class ConformLoad: ", attribute, " with value: ", object[attribute])
}
});
Expand Down
Loading

0 comments on commit 5110ec2

Please sign in to comment.