Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-16601

Image deletion for contact : Improperly escaped strings break js in somes languages

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.6, 4.6.3
    • Fix Version/s: 4.6.4
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      I'm using civicrm with french translation and the confirmation script to delete contact image is broken.

      The original string :
      'Are you sure you want to delete contact image.'
      is translated by
      'Etes-vous sûr de vouloir supprimer l'image du contact.'

      The added apostrophe isn't escaped and break js.


      see CRM_Contact_Form_Contact
      function buildQuickForm()

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              valfr35 Valéry Gouleau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified