Skip to content

Conversation

@IrAlfred
Copy link
Member

This PR addresses the following issues:

  • "Undefined array key 1" errors in GitHub "All" page (?page=message_list&list_path=github_all). The Individual repo pages are in the following format (?page=message_list&list_path=github_owner/repo). The issue arises when GitHub repositories are not in expected "owner/repo" format.
  • "Call to a member function search() on false" when no IMAP server is not configured. The fix allows GitHub module to work independently without IMAP setup

@IrAlfred IrAlfred force-pushed the fix-some-github-module-issues branch from fe26b5f to 6653bfa Compare October 12, 2025 19:25
@IrAlfred IrAlfred changed the title Fix some GitHub module issues fix(github): fix some GitHub module issues Oct 12, 2025
@IrAlfred IrAlfred changed the title fix(github): fix some GitHub module issues fix(other): fix some GitHub module issues Oct 12, 2025
@IrAlfred IrAlfred requested a review from kroky October 12, 2025 19:36
@IrAlfred IrAlfred force-pushed the fix-some-github-module-issues branch from 6653bfa to 2c07ac3 Compare December 3, 2025 21:32
@IrAlfred IrAlfred force-pushed the fix-some-github-module-issues branch from 2c07ac3 to e288597 Compare December 3, 2025 21:36
@IrAlfred IrAlfred requested a review from kroky December 3, 2025 21:45
foreach ($ids as $key => $id) {
$details = Hm_IMAP_List::dump($id);
$mailbox = Hm_IMAP_List::get_connected_mailbox($id, $this->cache);
if (!$mailbox || !$mailbox->authed()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If a mailbox is configured but inaccessible at the moment, we should show an error to the user with details about which mailbox is inaccessible.

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