Ticket #1050 (closed defect: fixed)

Opened 2 years ago

Last modified 20 months ago

mindmap xml parsing broke after upgrade 1.2 to 1.3.1 linux

Reported by: BruceFoster Owned by: unassigned
Priority: low Milestone: 1.3.2
Component: handlers Version: 1.3.1
Severity: normal Keywords: XML Parsing Error mindmap
Cc:

Description

I was using Mind Map to display the RecentChanges page with version 1.2. After the upgrade to 1.3.1 it fails with the message:

XML Parsing Error: no element found Location:  http://xx.xx.xx.xx/Wiki/RecentChanges/recentchanges.cml.mm Line Number 1, Column 1:

The RecentChanges page displays properly in the wiki, and the RSS feed for the RecentChanges page continues to work properly after the upgrade.

SysInfo:

  • Wikka version: 1.3.1
  • Wikka patch level: 0
  • PHP version: 5.1.6
  • MySQL version: 5.0.77-log
  • GeSHi version: 1.0.7.20
  • Server:

o Host: xxxx o Operative System: Linux 2.6.18-238.9.1.el5 #1 SMP Fri Mar 18 12:42:39 EDT 2011 o Machine: x86_64

Attachments

recentchanges.xml.mm.php.patch Download (1.1 KB) - added by BrianKoontz 2 years ago.
recentchanges_simple.xml.mm.php.patch Download (0.9 KB) - added by BrianKoontz 2 years ago.

Change History

follow-up: ↓ 3   Changed 2 years ago by BrianKoontz

  • status changed from new to infoneeded_new

I posted the mindmap that's at this link:  http://wikkawiki.org/FreeMindSandBox in the SandBox at demo.wikkawiki.org, and it rendered correctly. Can you try the same and let me know what your results are? Alternatively, can you e-mail me a link to the mindmap so I can test it (brian at wikkawiki dot org)?

  Changed 2 years ago by BrianKoontz

  • version changed from 1.2 to 1.3.1
  • milestone set to 1.4

in reply to: ↑ 1   Changed 2 years ago by BruceFoster

I privately emailed my link to Brian.

I also pasted the mindmap in FreeMindSandBox into my SandBox, and it did render correctly.

I used wget to retrieve the RecentChanges/recentchanges.xml.mm page, and 0 bytes were transferred.

I then retrieved RecentChanges/recentchanges_simple.xml.mm and it did transfer a file. When I tried to render that in my SandBox, I got a different parsing error:

XML Parsing Error: mismatched tag. Expected: </map>. Location:  http://xx.xx.xx.xxx/Wiki/RecentChanges/recentchanges_simple.xml.mm Line Number 82, Column 3:</node></node>

That file ended with these 4 lines: <node TEXT="FormattingRules"/> </node> </node></node> </map>

  Changed 2 years ago by BrianKoontz

  • priority changed from high to low
  • status changed from infoneeded_new to new
  • severity changed from blocker to normal

Patches attached. Will include fixes in 1.4 release. Bruce, thanks for testing!

Changed 2 years ago by BrianKoontz

Changed 2 years ago by BrianKoontz

  Changed 2 years ago by BrianKoontz

(In [1785]) Fixed minor syntax errors that prevented mindmap XML from being rendered properly. Refs #1050

  Changed 2 years ago by BrianKoontz

  • status changed from new to closed
  • resolution set to fixed

  Changed 20 months ago by BrianKoontz

  • milestone changed from 1.4 to 1.3.2
Note: See TracTickets for help on using tickets.