Loading...
 
Skip to main content

menu export data includes html (and other characters?)

Status
Closed
Subject
menu export data includes html (and other characters?)
Version
12.x
13.x
Category
  • Error
Feature
Menu
Resolution status
Fixed or Solved
Submitted by
Geoff Brickell
Lastmod by
Geoff Brickell
Rating
(0)
Description

Looks like this only happens for menus that have got the "Wiki parse" option set

When a menu is exported the resultant CSV file contains html (and other end of line characters?) for the Name field

Particular difficulties occur when the option to wiki parse the label is set 'on' ie the Name field may have something like:

Home {img src="img/icons/home.gif" height="12" width="12" alt="Image"}

so that a small icon is included - but when this is exported it appears as:

Home <img src="img/icons/home.gif" height="12" width="12" alt="Image" class="regImage pluginImg" />

with additional spurious end of line characters that do not show up in the Excel spreadsheet

Similar end of line characters appear on all simple text entries in the Name field.

The difficulty arises when you want to reimport previously exported data and this then causes corruption

It looks like the parsed output of the Name field may be being exported instead of the simple stored value ?

Solution
fixed by 52056 by setting the $do_not_parse parameter when exporting
Importance
10 high
Priority
50
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5311
Created
Friday 11 July, 2014 09:26:28 UTC
by Geoff Brickell
LastModif
Monday 21 July, 2014 15:53:11 UTC


Show PHP error messages