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

Re: [fusebox5] Bug: do not work for html files

Expand Messages
  • Sean Corfield
    I was wondering what impact not implementing maskedFileDelimiters would have :) Thanx for digging into that - I ll get on it this week (when I get back from
    Message 1 of 5 , May 1, 2006
    • 0 Attachment
      I was wondering what impact not implementing maskedFileDelimiters would have :)

      Thanx for digging into that - I'll get on it this week (when I get back from vacation).

      On Apr 28, 2006, at 10:20 AM, Qasim Rasheed wrote:

      Barney,

      Thanks for confirming this. I believe if we replace this if block

      if (fb_.extension is not fb_.standardExtension) {
          fb_.verbInfo.attributes.template = fb_.verbInfo.attributes.template & "." & fb_.standardExtension;
      }

      with this

      if (NOT ( ListFindNoCase(fb_.verbInfo.action.getCircuit().getApplication().maskedFileDelimiters, fb_.extension, ',') OR ListFindNoCase(fb_.verbInfo.action.getCircuit().getApplication().maskedFileDelimiters, '*', ',') )) {
                  fb_.verbInfo.attributes.template = fb_.verbInfo.attributes.template & "." & fb_.standardExtension;
              }       

      it will solve this problem. I took the second if block from FB4.1's fusebox4.parser.cfmx.cfm file.

      Thanks

      Qasim

      On 4/28/06, Barney Boisvert <bboisvert@... > wrote:
      In FB4.x, an INCLUDE TEMPLATE value without an extension had a ".cfm"
      extension automatically appended.  FB5 (around line 119 in
      verbs/include.cfm) checks for a ".cfm" extension, and appends one if
      missing.  Definitely a bug.

      cheers,
      barneyb


      On 4/28/06, Qasim Rasheed <qasim.lists@...> wrote:
      >  I found this problem which have been reporrted on trac as well.
      >
      > This code works fine on FB4 but breaks in FB5
      >
      > <fuseaction name="home">
      >     <include template="dsp.home.html" required="true" />
      > </fuseaction>
      >
      > Thanks
      >
      > Qasim

      --
      Barney Boisvert
      bboisvert@...
      360.319.6145
      http://www.barneyb.com/

      Got Gmail? I have 100 invites.


    • Sean Corfield
      Fixed for Alpha 3.
      Message 2 of 5 , May 2, 2006
      • 0 Attachment
        Fixed for Alpha 3.

        On Apr 28, 2006, at 10:20 AM, Qasim Rasheed wrote:
        > Thanks for confirming this. I believe if we replace this if block
        >
        > if (fb_.extension is not fb_.standardExtension) {
        > fb_.verbInfo.attributes.template =
        > fb_.verbInfo.attributes.template & "." & fb_.standardExtension;
        > }
        >
        > with this
        >
        > if (NOT ( ListFindNoCase(fb_.verbInfo.action.getCircuit
        > ().getApplication().maskedFileDelimiters, fb_.extension, ',') OR
        > ListFindNoCase(fb_.verbInfo.action.getCircuit().getApplication
        > ().maskedFileDelimiters, '*', ',') )) {
        > fb_.verbInfo.attributes.template =
        > fb_.verbInfo.attributes.template & "." & fb_.standardExtension;
        > }
        >
        > it will solve this problem. I took the second if block from FB4.1's
        > fusebox4.parser.cfmx.cfm file.
      Your message has been successfully submitted and would be delivered to recipients shortly.