Defect #1081

Resource list fails to show if a state contains a quote.

Added by Blatti Yves almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:08/14/2015
Priority:UrgentDue date:
Assignee:-% Done:

100%

Category:CORE
Target version:4.3.2
Affected version:4.3.0

Description

Resources metadatastate is not escaped in resources.js.php.
Resource list fails to show if a state contains a quote.

resource.version(200043, 200043, 'version-name-auto-generated', 3, 'En cours d'édition', '2012-08-24 00:00:00');
        resources.add(resource);

History

#1 Updated by Blatti Yves almost 4 years ago

  • Subject changed from Resource list fails to show if a name (or state) contains a quote. to Resource list fails to show if a state contains a quote.
  • Description updated (diff)

Version name should not contain quote since it is auto-generated. Only the metadatastate string is problematic.

#2 Updated by Van Hoecke Hélène almost 4 years ago

  • Status changed from New to Affected
  • Assignee set to Van Hoecke Hélène
  • Target version set to 4.3.2

#3 Updated by Van Hoecke Hélène almost 4 years ago

  • Status changed from Affected to Resolved
  • Assignee changed from Van Hoecke Hélène to Blatti Yves

#4 Updated by Blatti Yves almost 4 years ago

  • Status changed from Resolved to To merge
  • Assignee changed from Blatti Yves to Van Hoecke Hélène
  • % Done changed from 0 to 100

All good, thank you !

#5 Updated by Van Hoecke Hélène almost 4 years ago

  • Status changed from To merge to Closed

#6 Updated by Van Hoecke Hélène almost 4 years ago

  • Assignee deleted (Van Hoecke Hélène )

Also available in: Atom PDF