Uploaded image for project: 'Lucee Development'
  1. LDEV-1036

callStackGet() function no longer returns full paths to template

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: 4.5.4.013
    • Fix Version/s: 5.0.1.83, 4.5.4.017
    • Labels:
      None

      Description

      Given the following code callstackget no longer returns the full path for files

      private string function _getPresideRoot()

      { var trace = CallStackGet(); var thisFilePath = trace[ 1 ].template; var dir = GetDirectoryFromPath( thisFilePath ); return ReReplace( dir, "[\\/]system[\\/]?$", "" ); }

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                michaeloffner Michael Offner
                Reporter:
                alexpixl8 Alex Skinner
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: