6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7436] API _replace method doesn't work
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ ._..___..__ | \[__) | _/ [__) |__/[__)_|_./__.| \
Comment
> I've noticed that _replace method doesn't work properly. The steps it > follows are: > > - It creates an Horde_iCalendar object > > - It creates an Horde_iCalendar_vNote component with > Horde_iCalendar::newComponent, with the previous Horde_iCalendar > object as container > > - Then, it parse the "content" string > > > > Result: > > > > - Horde_iCalendar object creates an new component vNote, ignoring the > previous vNote creates, so you have an vNote empty object with a > cantainer that has another vNote (this one with the correct data). > > - In Driver fromiCalendar method, it extracts the empty vNote > > > > I'm not sure if it is a bug of Horde_iCalendar class. Any way, i > think that _replace in mnemo should follow the same steps as _replace > nag's method, or even _import mnemo's method, i mean: > > > > - Creating Horde_iCalendar object > > - Parse directly the "content" string > > - Extracts the component with Horde_iCalendar::getComponents() > > > > I attach a patch. The modification has been extracted from _replace > nag's method. > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers