zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
159 stars 89 forks source link

fix(ds): resolve TypeError when expanding favorited PDS #2874

Closed traeok closed 2 months ago

traeok commented 2 months ago

Proposed changes

Resolves the issue where expanding a PDS member results in a TypeError. The logic for getSessionNode was updated for 2.15.3 and now returns the proper node for favorited items. However, due to this change, the sorting logic needs an adjustment to define the sort property for sessions under the Favorites folder.

Release Notes

Milestone: 2.15.4

Changelog:

Types of changes

What types of changes does your code introduce to Zowe Explorer? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This checklist will be used as reference for both the contributor and the reviewer

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.45%. Comparing base (bbe879d) to head (61d1ca3). Report is 7 commits behind head on maintenance.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## maintenance #2874 +/- ## ============================================ Coverage 93.45% 93.45% ============================================ Files 103 103 Lines 10678 10678 Branches 2320 2307 -13 ============================================ Hits 9979 9979 Misses 698 698 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud