chocolatey / chocolatey/ChocoCCM

[BUG] Get-CCMSoftware Not Returning All Software

Open
#58 0 comments 0 reactions 0 assignees View on GitHub
0 - Triaging Bug
Dominant language
PowerShell
Stars
7
Forks
11
PR merge metrics
No merged PRs in 30d

Description

### What You Are Seeing?
Get-CCMSoftware is not returning all software in CCM

### What is Expected?
Get-CCMSoftware should return all software in CCM

### How Did You Get This To Happen? (Steps to Reproduce)
Get-CCMSoftware

### Issue
Get-CCMSoftware calls on 'api/services/app/Software/GetAll', which appears to limit the max results to 10 by default. Instead, it should call on '/api/services/app/Software/GetAllWithoutFilter' when not using the -Software, -Package, or -Id switches.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Get-CCMSoftware command implementation and compare its API request with the issue's GetAll and GetAllWithoutFilter endpoints. Run Get-CCMSoftware against CCM and verify that the unfiltered call returns all software, while -Software, -Package, and -Id continue using their filtered behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
api, cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.