Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-1993

SP2: FCK - link on file has no proper resolution of jahia servlet name and context (replace by ###)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • WCM 5.0 SP2
    • WCM 5.0 SP2
    • None
    • Sp2 17334

    Description

      If I try to make all possible combination of link in a big text (link on a Jahia page; link on a file; inserted image; inserted flash), all are correctly replace (in the DB or on disk in var/content/bigtext) by placeholders for the hardcoded by default jahia/Jahia... excepted the link to a file which keep a /jahia/ hardcoded.

      We should really take care of putting placeholder for the servlet name and context as more and more customer do not use the same names on the intranet and on the web site (or on dev or pre-production server and on production server). This causes lots of problem while migrating content (or making some automatic replication) afterwards.

      Extract from my big text on disk:
      ------------------------------

      <p>
      <a href="/jahia/webdav/site/demo/shared/shared/Documentation/Agenda.doc">File</a>
      </p>

      <p>
      <a href="###/lang/en/pid/71">Link</a>
      </p>

      <p>
      <a href="###/lang/en/pid/60">Link expired (error?)</a>
      </p>

      <p> Flase:</p>

      <p>
      <embed loop="true" menu="true" play="true" pluginspage="http://www.macromedia.com/go/getflashplayer" src="###/webdav/site/demo/shared/Documentation/flash/content_reuse.swf" type="application/x-shockwave-flash"/>
      </p>

      <p>Img:</p>

      <p>
      <img alt="" height="40" src="###/webdav/site/demo/shared/shared/banner_home_th_64.gif" width="64"/>
      </p>

      TestRail: Results

        Attachments

          Activity

            People

              shyrkov Sergiy Shyrkov (Inactive)
              scroisier Stephane Croisier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      WCM 5.0 SP2