Loading ...
Sorry, an error occurred while loading the content.
 

Patch for FuseboxEvent

Expand Messages
  • Qasim Rasheed
    Sean, Here is a patch for fuseboxEvent.cfc Index: C:/CFFrameworks/Fusebox5/svn/fuseboxEvent.cfc ... +++ C:/CFFrameworks/Fusebox5/svn/fuseboxEvent.cfc (working
    Message 1 of 3 , Jan 1, 2007
      Sean,
       
      Here is a patch for fuseboxEvent.cfc
       
      Index: C:/CFFrameworks/Fusebox5/svn/fuseboxEvent.cfc
      ===================================================================
      --- C:/CFFrameworks/Fusebox5/svn/fuseboxEvent.cfc (revision 301)
      +++ C:/CFFrameworks/Fusebox5/svn/fuseboxEvent.cfc (working copy)
      @@ -34,7 +34,7 @@
            hint="I am the default value to return if the given attribute is missing." />
       
         <cfif valueExists(arguments.valueName)>
      -   <cfreturn variables.attributes />
      +   <cfreturn variables.attributes[arguments.value] />
         <cfelse>
          <cfreturn arguments.defaultValue />
         </cfif>

      Thanks
       
      Qasim
       
    • Qasim Rasheed
      Please make the following correction to the patch. Old Value New Value
      Message 2 of 3 , Jan 1, 2007
        Please make the following correction to the patch.
         
        Old Value

        <cfreturn variables.attributes />
         
        New Value
         
        <cfreturn variables.attributes[arguments.valueName] />
         
        Thanks
         
        On 1/1/07, Qasim Rasheed <qasim.lists@...> wrote:
        Sean,
         
        Here is a patch for fuseboxEvent.cfc
         
        Index: C:/CFFrameworks/Fusebox5/svn/fuseboxEvent.cfc
        ===================================================================
        --- C:/CFFrameworks/Fusebox5/svn/fuseboxEvent.cfc (revision 301)
        +++ C:/CFFrameworks/Fusebox5/svn/fuseboxEvent.cfc (working copy)
        @@ -34,7 +34,7 @@
              hint="I am the default value to return if the given attribute is missing." />
         
           <cfif valueExists(arguments.valueName)>
        -   <cfreturn variables.attributes />
        +   <cfreturn variables.attributes[arguments.value] />
           <cfelse>
            <cfreturn arguments.defaultValue />
           </cfif>

        Thanks
         
        Qasim
         



        --
        Qasim Rasheed
        Certified Advance ColdFusion MX Developer
        (IM qasimrasheed AT yahoo, msn or GTalk)
      • Sean Corfield
        Thanx. Fixed in SVN. For future reference, please open a ticket for anything found (I fixed this without one for expediency but for tracking purposes would
        Message 3 of 3 , Jan 1, 2007
          Thanx. Fixed in SVN. For future reference, please open a ticket for
          anything found (I fixed this without one for expediency but for
          tracking purposes would prefer a ticket existed for every bug).

          On Jan 1, 2007, at 7:44 PM, Qasim Rasheed wrote:
          > Here is a patch for fuseboxEvent.cfc
        Your message has been successfully submitted and would be delivered to recipients shortly.