Details

    • Type: Improvement
    • Status: Resolved (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 4.1.0
    • Fix versions: 4.3.0
    • Components: None
    • Labels:
      None

      Description

      It appears that if the interceptor service calls processState during an inception point, then the buffer gets cleared at that point in the code. Buffer append calls that occur afterwards render correctly.

      component extends='coldbox.system.Interceptor' {
      
          function configure() {}
      
          function postProcess( event, interceptData, buffer ) {
              arguments.buffer.append('<p>Before the call.</p>'); // Will not render
      
              controller.getInterceptorService().processState( 'fakeState' );
      
              arguments.buffer.append('<p>After the call.</p>'); // Will render
          }
      
      }
      
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lmajano Luis Majano
                Reporter:
                awayken Miles Rausch
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: