Details
-
Bug
-
Resolution: Unresolved
-
None
-
None
-
Low
-
Empty show more show less
Description
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
Attachments
Issue Links
- relates to
-
TRANSLATE-2534 Enable opening multiple tasks in multiple tabs
- Done