Skip to content

Update getSearchResults() to use Search_Params/Results objects and fix several bugs#61

Merged
amulet1 merged 1 commit intohorde:FRAMEWORK_6_0from
horde6:activesync_fixes2
Mar 11, 2026
Merged

Update getSearchResults() to use Search_Params/Results objects and fix several bugs#61
amulet1 merged 1 commit intohorde:FRAMEWORK_6_0from
horde6:activesync_fixes2

Conversation

@amulet1
Copy link
Contributor

@amulet1 amulet1 commented Mar 11, 2026

  • Update getSearchResults() signature to accept Search_Params and return Search_Results, matching the base class refactor
  • Move pagination (start/limit) and total count back to getSearchResults()
  • Update _searchMailbox() and _searchGal() signatures to accept separate $options and $deepTraversal parameters instead of a flat $query array
  • Move ob_start()/endBuffer() into getSearchResults() from _searchGal()
  • Fix Horde_ActiveSync_Exeption_StaleState typo (missing 'c')
  • Fix $e->getMessage missing parentheses in CLASS_TASKS and CLASS_NOTES exception handlers in getMessage()
  • Fix $event->creator undefined variable in meetingResponse()
  • Fix $fowardees typo in sendMail() — was assigned but never used
  • Mark $organizer and $cn as unused with FIXME/comment
  • Fix 'stirng' docblock typo in _buildNonMailFolder()

See #56 also.

IMPORTANT: Requires changes in horde/ActiveSync#13.

…ts objects and fix several bugs

- Update getSearchResults() signature to accept Search_Params and return
  Search_Results, matching the base class refactor
- Move pagination (start/limit) and total count back to getSearchResults()
- Update _searchMailbox() and _searchGal() signatures to accept separate
  $options and $deepTraversal parameters instead of a flat $query array
- Move ob_start()/endBuffer() into getSearchResults() from _searchGal()
- Fix Horde_ActiveSync_Exeption_StaleState typo (missing 'c')
- Fix $e->getMessage missing parentheses in CLASS_TASKS and CLASS_NOTES
  exception handlers in getMessage() — was accessing a non-existent
  property instead of calling the method, resulting in null message strings
- Fix $event->creator undefined variable in meetingResponse()
- Fix $fowardees typo in sendMail() — was assigned but never used
- Mark $organizer and $cn as unused with FIXME/comment
- Fix 'stirng' docblock typo in _buildNonMailFolder()
@amulet1 amulet1 marked this pull request as ready for review March 11, 2026 20:38
@amulet1 amulet1 requested a review from ralflang March 11, 2026 20:38
@amulet1 amulet1 merged commit 979b158 into horde:FRAMEWORK_6_0 Mar 11, 2026
0 of 4 checks passed
@amulet1 amulet1 deleted the activesync_fixes2 branch March 11, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants