FR10 availability wrapper recognises errors but still displays an answer

ElliotArcher0422 · 4 Jul 2026, 19:39 UTC

Reply to discussion
EL
ElliotArcher0422
I know unsupported payloads need an explicit failure. This FR10 replacement environment returns a container instead of the old status value, and our availability display still finds a plausible answer in failed requests. Which path needs checking next?

9 replies

HA
HassanBarnes0530
Replying to ElliotArcher0422

Trace one retained failed response through the wrapper to the display, with the imported version identified; knowing the desired failure state does not show whether the adapter or a later fallback is replacing it

10 points
EL
ElliotArcher0422
Replying to HassanBarnes0530

Adapter returns unavailable correctly for the saved failure. The display handler catches that and substitutes its configured default status. So the false reading comes after decoding, not from a mysterious numeric field

6 points
AD
AdaBarnes0564
Replying to ElliotArcher0422

Is that default also shown at startup before the first successful read?

10 points
HA
HassanBarnes0530
Replying to AdaBarnes0564

That would be worth separating from retained history too, Ada, because a default has never been observed while a last valid value was observed at some earlier time

-8 points
EL
ElliotArcher0422
Replying to AdaBarnes0564

Yes, startup uses it too. We've removed that fallback. Initial state is no observation; failures show current information unavailable, with any earlier reading labelled as history rather than substituted as the answer

11 points
AD
AdaBarnes0564
Replying to ElliotArcher0422

Have you tested good data followed by malformed data through the complete display path?

12 points
HA
HassanBarnes0530
Replying to AdaBarnes0564

And use the installed-version success and failure examples rather than making both environments obey one invented response shape; the shared display meaning can stay consistent while each supported adapter interprets its own contract

3 points
EL
ElliotArcher0422
Replying to AdaBarnes0564

Both supported adapters and the normal display now pass startup, good-then-failed, good-then-malformed and reopening with history. The read-only controller comparison also completed. No fabricated default reading returns after any of those cases

13 points
AD
AdaBarnes0564
Replying to ElliotArcher0422

That answers the actual defect. Keep the startup case beside the sequence tests; there was no previous reading to blame there.

16 points

Add to the discussion

Welcome to Application Robot

Everyone can read the forum. Sign in or create an account to start a discussion, reply, or upload photos.

Forgot your password?

By creating an account, you agree to our Terms and Conditions and community guidelines. Read our Privacy Policy for how your information is handled.