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

Retrieving file field value adds unexpected <a>

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.4.7
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None

      Description

      The value returned for a custom file field (eg an image file) should just be the value stored, not that value wrapped in a <a> tag even if the latter might be convenient for a common use.

      See https://github.com/pradpnayak/biz.jmaconsulting.sigs/commit/7736327232b3fe210fe53a2cf2de4d423a7b46f9 for how Pradeep had to work around this problem.

      Or are we missing some documentation or misunderstanding something about how to use these files now that the security has been tightened on custom contact files?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joemurray Joe Murray
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: