Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-2950

Errors on usage when installing into document root subfolder

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • None
    • Installation & Update

      problem

      Translate5 is not fully usable anymore if installed in a document root subfolder.

      This turned out on testing if TRANSLATE-2534 was working with subfolders. The application bootstrapping is working in general, but it seems that not in all places of the application APPLICATION_RUNDIR was used. For example the following path is wrong since the RUNDIR is missing:

      http://t5dev.localdev/editor/plugins/resources/trackChanges/accept.png 404 (Not Found)

      To reproduce:

      • Remove public from the document root (so that public is basically the subfolder)
      • Modify runtimeOptions.extJs.basepath.620 so that it fits to the new path (add /public)
      • test the whole application and find the occuring errors

      additional todo

      Change the extJs basepath usage so that APPLICATION_RUNDIR is used there too. Background why it was not used: the config provides the ability to provide absolute locations of extjs to share ext js across several instances. Could be improved by removing leading slash from the default config, and implement if leading slash is missing add the RUNDIR, otherwise load the path as given.

      TO BE DISCUSSED:

      Is the feature needed at all? See TS-1675

          [TRANSLATE-2950] Errors on usage when installing into document root subfolder

          There are no comments yet on this issue.

            marcmittag Marc Mittag [Administrator]
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: