You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Hui Fei (Jira)" <ji...@apache.org> on 2026/06/09 04:28:05 UTC
[jira] [Updated] (HDDS-14423) [Recon UI] Fix "N/A" fallback logic to handle negative values correctly
[ https://issues.apache.org/jira/browse/HDDS-14423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hui Fei updated HDDS-14423:
---------------------------
Fix Version/s: (was: 2.2.0)
Target Version/s: 2.3.0
<<Bulk update>>
Apache Ozone 2.2.0 release is in progress. I'm updating all unresolved jiras targeting 2.2.0 to retarget 2.3.0.
> [Recon UI] Fix "N/A" fallback logic to handle negative values correctly
> -----------------------------------------------------------------------
>
> Key: HDDS-14423
> URL: https://issues.apache.org/jira/browse/HDDS-14423
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Recon
> Affects Versions: 2.1.0
> Reporter: Arafat Khan
> Assignee: Abhishek Pal
> Priority: Major
>
> The UI currently displays negative values (e.g., {{{}-1{}}}) directly (e.g., as {{{}-1 B{}}}) instead of falling back to "N/A". This happens because the check {{if (!value)}} evaluates negative numbers as truthy in JavaScript, bypassing the fallback logic.
> *Expected Behavior:* Negative values (like {{{}-1{}}}) should be treated as invalid/missing data and displayed as {{{}N/A{}}}.
> *Actual Behavior:* Negative values are formatted and displayed (e.g., {{{}-1 B{}}}).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org