Ticket #291 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Error Installing plugin with special characters in description

Reported by: enzo Owned by:
Priority: important Milestone: 1.1
Component: Plugin (not included in core distro) Version:
Keywords: plugin installer CDATA Cc:

Description

After try to create my first plugin by my own I get a weird error

simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: /var/www/dev.depascor.nl/html/gadget/includes/tmp/plugin.tmp/8cab35/plugin.xml:3: parser error : xmlParseEntityRef: no name

This error why some symbols can't appear directly as a value of any node unless you enclose them using CDATA tag i.e & (ampersand).

So after deep inside the code I find the use and update the plugin code.

Attachments

QPlugin-Description-CDATA-FIX.patch Download (0.7 KB) - added by enzo 5 years ago.

Change History

Changed 5 years ago by enzo

Changed 5 years ago by alex94040

  • status changed from new to in_QA

Looks great, let's check it in!

Changed 5 years ago by alex94040

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

(In [327]) Fixes #291: Error Installing plugin with special characters in description. Code by enzo, reviewed and tested by alex94040.

Note: See TracTickets for help on using tickets.