RSS block: "Invalid array key 'url'" messages when using an atom feed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Unassigned | ||
1.10 |
Fix Released
|
Low
|
Unassigned | ||
1.8 |
Won't Fix
|
Low
|
Unassigned | ||
1.9 |
Won't Fix
|
Low
|
Unassigned | ||
15.04 |
Fix Released
|
Low
|
Unassigned |
Bug Description
A client reported that when using the external feed block to display the Atom feeds of Mahara's own blogs, you'd see this warning message:
[WAR] f9 (blocktype/
Call stack (most recent first):
log_
error(2, "Illegal string offset 'url'", "/home/
PluginBlock
PluginBlock
call_
call_
BlockInstan
View-
View-
View-
On looking at the code, it looks like the problem is that the PluginBlocktype
Changed in mahara: | |
status: | Fix Committed → Fix Released |
The function also is written in a confusing order, and sometimes it cleans up URLs and sometimes it doesn't. The whole thing could use some cleanup and maybe refactoring.