I realize that the 7.x dev version has a ways to go yet, but I at least wanted to document the batch of messages from the 1st go-round. These might be messages that most people would suppress, but at this stage they might be valuable for diagnostics. This was installed on a local server running Commons-7.x-3.x-dev, with it's D7.15 core, so it's all pretty much bleeding edge.
On viewing '/basic_webmail', it does display the list of mail after a successful login - but - I can't actually read any, or change to other folders. Besides the list showing, only the sort functions seem to work.
The 'view' error block:
Notice: Undefined offset: 4 in _basic_webmail_update_stored_message_list() (line 292 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.list.inc).
Warning: Missing argument 1 for _basic_webmail_subscribe_to_mailboxes(), called in C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.list.inc on line 293 and defined in _basic_webmail_subscribe_to_mailboxes() (line 428 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.list.inc).
Notice: Undefined variable: user_id in _basic_webmail_subscribe_to_mailboxes() (line 430 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.list.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in EntityCacheControllerHelper::entityCacheLoad() (line 69 of C:\xampp\htdocs\commons73dev\sites\all\modules\entitycache\entitycache.module).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 354 of C:\xampp\htdocs\commons73dev\includes\entity.inc).
Notice: Trying to get property of non-object in _basic_webmail_connect_to_server() (line 287 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.module).
Notice: Trying to get property of non-object in _basic_webmail_connect_to_server() (line 293 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.module).
Notice: Trying to get property of non-object in _basic_webmail_connect_to_server() (line 294 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.module).Composing gets a new list of errors, with no form displayed to add a message:
Notice: Undefined index: _basic_webmail_send_mail_form in drupal_retrieve_form() (line 765 of C:\xampp\htdocs\commons73dev\includes\form.inc).
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function '_basic_webmail_send_mail_form' not found or invalid function name in drupal_retrieve_form() (line 800 of C:\xampp\htdocs\commons73dev\includes\form.inc).Modifying a previously opened mail to mark it as unread, also results in a dozen errors, but does mark the mail as expected:
Notice: Undefined offset: 4 in _basic_webmail_update_stored_message_list() (line 292 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.list.inc).
Warning: Missing argument 1 for _basic_webmail_subscribe_to_mailboxes(), called in C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.list.inc on line 293 and defined in _basic_webmail_subscribe_to_mailboxes() (line 428 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.list.inc).
Notice: Undefined variable: user_id in _basic_webmail_subscribe_to_mailboxes() (line 430 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.list.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in EntityCacheControllerHelper::entityCacheLoad() (line 69 of C:\xampp\htdocs\commons73dev\sites\all\modules\entitycache\entitycache.module).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 354 of C:\xampp\htdocs\commons73dev\includes\entity.inc).
Notice: Trying to get property of non-object in _basic_webmail_connect_to_server() (line 287 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.module).
Notice: Trying to get property of non-object in _basic_webmail_connect_to_server() (line 293 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.module).
Notice: Trying to get property of non-object in _basic_webmail_connect_to_server() (line 294 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.module).
Notice: Undefined offset: 4 in _basic_webmail_update_stored_message_list() (line 292 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.list.inc).
Warning: Missing argument 1 for _basic_webmail_subscribe_to_mailboxes(), called in C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.list.inc on line 293 and defined in _basic_webmail_subscribe_to_mailboxes() (line 428 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.list.inc).
Notice: Undefined variable: user_id in _basic_webmail_subscribe_to_mailboxes() (line 430 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.list.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in EntityCacheControllerHelper::entityCacheLoad() (line 69 of C:\xampp\htdocs\commons73dev\sites\all\modules\entitycache\entitycache.module).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 354 of C:\xampp\htdocs\commons73dev\includes\entity.inc).
Notice: Trying to get property of non-object in _basic_webmail_connect_to_server() (line 287 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.module).
Notice: Trying to get property of non-object in _basic_webmail_connect_to_server() (line 293 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.module).
Notice: Trying to get property of non-object in _basic_webmail_connect_to_server() (line 294 of C:\xampp\htdocs\commons73dev\profiles\commons\modules\contrib\basic_webmail\basic_webmail.module).
Comments
Comment #1
oadaeh commentedMost or all of those things should already be fixed. I had most of the code fixes handled last week, but hadn't pushed the code. I just did.
Everything on the message list page should work, except that there are still some issues with some dates.
You should be able to view any message.
I have not tested anything with moving, copying, and deleting from the message view.
You should be able to compose, but I haven't tested that very heavily, so there may be lots to fix there, yet.
So if any of the above doesn't work that I said does, I need to know about it. (I also may find and fix it on my own.)
Let me know if you still get those errors with the latest code (which may take up to 12 hours to be published).
Comment #2
arblickspule commentedStill get them when using the latest version from Drupal site. I changed the following code and the errors go away. Dunno if it messes with the functionality though...
lines 327->330 in basic_webmail.list.inc
Good job nonetheless! Keep at it! :)
Comment #3
oadaeh commentedI've included the fix for #2, here: http://drupalcode.org/project/basic_webmail.git/commit/0d3f226
The current dev release date is May 9, 2013. The updated one will be either May 9 or May 10.