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

UDF's mixed into CFC via temp file error when trying to recompile and file is deleted

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.5.4.005
    • Fix Version/s: 5.0.1.21, 4.5.4.006
    • Labels:
      None

      Description

      The scenario is described here in this forum topic:
      https://groups.google.com/d/topic/railo/tlGl_SeeHzo/discussion

      "Page /9a414ea6-1783-4e09-8e81-e9ab8cbc4ab5.cfm [ram:///9a414ea6-1783-4e09-8e81-e9ab8cbc4ab5.cfm] not found
      at railo.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:158):158
      at railo.runtime.type.util.ComponentUtil.getPage(ComponentUtil.java:713):713
      at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92
      at railo.runtime.type.UDFImpl._call(UDFImpl.java:306):306
      at railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207
      at railo.runtime.ComponentImpl._call(ComponentImpl.java:588):588
      at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
      at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
      at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
      at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1554):1554
      at modules.egroup.handlers.figures_cfc$cf.udfCall1(/modules/eGroup/handlers/figures.cfc:165):165

      Basically, the .cfm file that's missing was a temporary file that was included previously to mix in a dynamic method into a component. The temp file has now been deleted, but something is causing Lucee to go looking for it again.

      This error is causing issues in WireBox's AOP functionality because it uses temp files that are immediately removed to mixin dynamic methods to CFCs.

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              bdw429s Brad Wood
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: