RosiKyu opened a new issue, #12466:
URL: https://github.com/apache/cloudstack/issues/12466

   ### problem
   
   The `keyword` parameter in the `listBackupOfferings` API is accepted but 
does not filter results. Regardless of the search term provided, the API 
returns an empty result set.
   
   
   ### versions
   
   ACS 4.20+
   
   ### The steps to reproduce the bug
   
   1. Create multiple backup offerings with distinct names (e.g., "test", 
"test1", "test2")
   2. List all backup offerings - confirms they exist
   3. Attempt to filter using the `keyword` parameter
   
   
   - `list` backupofferings` -> returns all 3 offerings
   ```
   (localcloud) 🐱 > list backupofferings 
   {
     "backupoffering": [
       {
         "allowuserdrivenbackups": true,
         "created": "2026-01-19T15:01:32+0000",
         "description": "test",
         "externalid": "17fa51d2-8890-481d-9671-c1ba72dfc59b",
         "id": "f88854a3-ebd3-42b7-a05b-a5cedb06b10c",
         "name": "test",
         "provider": "dummy",
         "zoneid": "8be3db01-c7d7-4e87-adad-0e26ee771912",
         "zonename": "ref-trl-10625-k-Mu22-daman-arora"
       },
       {
         "allowuserdrivenbackups": true,
         "created": "2026-01-19T15:01:51+0000",
         "description": "test",
         "externalid": "ce56bc45-3e6b-42fc-bea6-9dd8311c612e",
         "id": "8ae7ba94-2402-4dbb-baa2-438a0ca8499e",
         "name": "test1",
         "provider": "dummy",
         "zoneid": "8be3db01-c7d7-4e87-adad-0e26ee771912",
         "zonename": "ref-trl-10625-k-Mu22-daman-arora"
       },
       {
         "allowuserdrivenbackups": true,
         "created": "2026-01-19T15:02:01+0000",
         "description": "test",
         "externalid": "fbddad55-0563-4a51-a7c7-96dfb23cf8e5",
         "id": "1c4e6d62-541a-4dc7-b4a6-3e5928fa3c25",
         "name": "test2",
         "provider": "dummy",
         "zoneid": "8be3db01-c7d7-4e87-adad-0e26ee771912",
         "zonename": "ref-trl-10625-k-Mu22-daman-arora"
       }
     ],
     "count": 3
   }
   
   ```
   
   - list backupofferings keyword=test -> returns empty
   
   - list backupofferings keyword=test1 -> returns empty
   
   <img width="1798" height="425" alt="Image" 
src="https://github.com/user-attachments/assets/426fb2c7-d723-4fb5-ae50-704dfe115bc1";
 />
   
   ## Expected Behavior
   The `keyword` parameter should filter backup offerings by name, returning 
offerings that match the search term.
   
   ## Actual Behavior
   The `keyword` parameter returns empty results regardless of the search term, 
even when matching offerings exist.
   
   ## Environment
   - CloudStack version: 4.20+
   
   ## Additional Information
   - Other filter parameters (`id`, `zoneid`, `pagesize`, `page`) work correctly
   - The `keyword` parameter is defined in the API and accepted without error
   - This appears to be a bug in the search criteria implementation in 
`BackupManagerImpl.java`
   
   
   ### What to do about it?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to