Bug report #7595

QgsProject writeEntry not safe

Added by Denis Rouzaud about 11 years ago. Updated about 11 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Project Loading/Saving
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16525

Description

QDomDocument::createElement ( const QString & tagName )
If tagName is not a valid XML name, the behavior of this function is governed by QDomImplementation::InvalidDataPolicy

http://doc.qt.digia.com/4.6/qdomimplementation.html#InvalidDataPolicy-enum
Default behaviour seems that data are stored anyway.

If a plugin messes up with this, the project file is not readable anymore.

History

#2 Updated by Denis Rouzaud about 11 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF