Site getAll is only returning one item
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 157
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
Running $client->site()->getAll(); only seems to return one item and it appears to always be the last item. If I add a filter for a specific ID then that item is returned so I know there are more items in my plesk instance.
The protocol version returned in the response is 1.6.9.1.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the site()->getAll() entry point and reproduce the request against a Plesk instance using protocol version 1.6.9.1. Trace how the returned items are parsed and confirm that the completed behavior returns every site, not only the last one; add or update coverage if the repository provides a suitable test path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100