[#5332] strpos warning viewing iTip message
Summary strpos warning viewing iTip message
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners jan@horde.org
Requester selsky@columbia.edu
Created 2007-05-04 (4810 days ago)
Due
Updated 2007-05-07 (4807 days ago)
Assigned 2007-05-04 (4810 days ago)
Resolved 2007-05-07 (4807 days ago)
Milestone
Patch No

Comments
Matt Selsky <selsky@columbia.edu> 2007-05-04 20:25:35
Warning: strpos() [function.strpos]: Empty delimiter. in 
/etc/httpd/htdocs/horde/framework/Prefs/Identity.php on line 299



This is right after updating to the latest iTip changes.  Let me know 
if you need the original message.



The iTip was sent to an address that forwards to mine so it is not 
listed in my identities.

Jan Schneider <jan@horde.org> 2007-05-04 21:51:44
The complete message would be nice, but the ATTENDEES parameters of 
the iCal attachment should be sufficient.

Matt Selsky <selsky@columbia.edu> 2007-05-04 22:28:44
ATTENDEE:mailto:abc123@example.edu^M

Matt Selsky <selsky@columbia.edu> 2007-05-05 04:45:50
The problem is that I don't have a From: address set in my identity.   
Most places use getDefaultFromAddress() to fall back to my login user 
when from_addr is empty.

Jan Schneider <jan@horde.org> 2007-05-07 13:58:52
These are actually two bugs. What does $list in Identity::hasValue() contain?

Jan Schneider <jan@horde.org> 2007-05-07 14:06:07
itip.php has been changed to use IMP's more intelligent hasAddress() instead.

Matt Selsky <selsky@columbia.edu> 2007-05-07 15:41:35
> These are actually two bugs. What does $list in Identity::hasValue() contain?



That function doesn't seem to be called now.

Jan Schneider <jan@horde.org> 2007-05-07 16:21:59
>> These are actually two bugs. What does $list in Identity::hasValue()

>> contain?

>

> That function doesn't seem to be called now.



Yeah, but what does it return *if* it is called?

Matt Selsky <selsky@columbia.edu> 2007-05-07 17:12:27
> Yeah, but what does it return *if* it is called?



array(1) {

   [0]=>

   string(0) ""

}

Jan Schneider <jan@horde.org> 2007-05-07 21:38:57
This is fixed too.