New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: CONF-3453
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Robert Whitney
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Confluence

{include} of a page in another space which has {blog-posts} renders error in blog list

Created: 23/Jun/05 06:03 PM   Updated: 02/May/07 03:04 AM
Component/s: Macros -- General
Affects Version/s: 1.4.1
Fix Version/s: 2.5.1

Time Tracking:
Not Specified

File Attachments: None
Image Attachments:

1. blogposts.jpg
(126 kB)
Environment: Standalone, JDK1.4.1-08, Mysql, RedHat EL3

Participants: Charles Miller [old account, do not assign issues], Mike Cannon-Brookes [Atlassian] and Robert Whitney
Since last comment: 1 year, 17 weeks, 1 day ago
Resolution Date: 02/May/07 03:04 AM
Labels:


 Description  « Hide
Rather than listing the blog entries, it displays

"Already included page Home, stopping."



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mike Cannon-Brookes [Atlassian] added a comment - 16/Jun/06 10:02 PM
Robert,

If you're still around - could you let me know a little more detail on this? I've tried to replicate it but can't.

Cheers,
Mike


Robert Whitney added a comment - 18/Jun/06 08:25 PM
To recreate this error:
  • create a space with key "TST".
  • add a news item to the new space.
  • on the space's home page, add "{blog-posts}".
    (home page of TST now displays news item).
    * create another space with key "TST2".
    * on TST2's home page, add "{blog-posts}".

TST2's home page now looks like (cropped) attachment.


Robert Whitney added a comment - 18/Jun/06 08:27 PM
this is also present in 2.1.2, build 407.

Charles Miller [old account, do not assign issues] added a comment - 02/May/07 02:45 AM - edited
The last step of the above list should be:
  • on TST2's home page, add {include:TST:Home}

Charles Miller [old account, do not assign issues] added a comment - 02/May/07 03:04 AM
The code that was looking for an infinite loop in the {blog-posts} macro was being a little too touchy. I've fixed it for the "including a page that includes blog-posts" case, but it will still be a problem if you include a blog post that contains the blog-posts macro. Which should be pretty rare.