Bug 1991573

Summary: Enable typescript strictNullCheck on network-policies files
Product: OpenShift Container Platform Reporter: Joel Takvorian <jtakvori>
Component: Management ConsoleAssignee: Joel Takvorian <jtakvori>
Status: CLOSED ERRATA QA Contact: Mehul Modi <memodi>
Severity: low Docs Contact:
Priority: low    
Version: 4.9CC: aballant, aos-bugs, yapei
Target Milestone: ---Keywords: Reopened
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-12 04:37:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joel Takvorian 2021-08-09 13:15:18 UTC
Description of problem:

BZ-backing JIRA https://issues.redhat.com/browse/NETOBSERV-29
For increased type-safety, we can enable strictNullCheck selectively by overriding the global tsconfig file per directory.

Note, there is no special thing to test for QE regarding this pull-request, (apart from usual non-regression in network policy creation through the form). It's purely a technical / code issue.


How reproducible:

n/a

Comment 1 Joel Takvorian 2021-08-09 14:19:05 UTC
Closing: PR on hold until 4.10

Comment 4 Mehul Modi 2021-09-15 21:50:45 UTC
@jtakvori - as we discussed this isn't making it in 4.9, do you want to mark this invalid for 4.9? Or change the version to 4.10 and mark it duplicate of https://issues.redhat.com/browse/NETOBSERV-29?

Comment 5 Mehul Modi 2021-09-15 22:03:40 UTC
@jtakvori never mind, I see the target release is changed from 4.9 to 4.10 in here, so it's a duplicate of  https://issues.redhat.com/browse/NETOBSERV-29. FWIW NETOBSERV-29 was marked with QEStatus:Not Required, I've verified this based on other tests done in https://issues.redhat.com/browse/NETOBSERV-6. Thanks! 

BZ won't allow to have duplicate issue link to JIRA, so I'll mark it as won't fix.

Comment 6 Mehul Modi 2021-09-16 19:01:28 UTC
Verified as part of testing https://issues.redhat.com/browse/NETOBSERV-6 and https://issues.redhat.com/browse/NETOBSERV-29

Comment 10 errata-xmlrpc 2022-03-12 04:37:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0056