Zend Framework

A bunch of issues caused by short_open_tag directive turned off (default Zend Server configuration)

Details

  • Type: Unit Tests: Problem Unit Tests: Problem
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.7.7
  • Labels:
    None

Description

1) testCorrectViewHelperPathShouldBePropagatedWhenSubControllerInvoked(Zend_Controller_Action_Helper_ViewRendererTest)
Received <?= $this->fooUseHelper() ?>

Failed asserting that <text> contains "fooUseHelper invoked".

2) testCorrectViewHelperPathShouldBePropagatedWhenSubControllerInvokedInDefaultModule(Zend_Controller_Action_Helper_ViewRendererTest)
Received <?= $this->sampleZfHelper() ?>

Failed asserting that <text> contains "SampleZfHelper invoked".

3) testLayoutWithViewBasePath(Zend_Layout_LayoutTest)
Failed asserting that two strings are equal.
expected string <foobar-helper-output>
difference <xxxxxxxxxxxxxxxxxxxx???>
got string <<?= $this->fooBar(); ?>>

4) testMissingViewScriptDoesNotDoubleRender(Zend_Layout_FunctionalTest)
Failed asserting that two strings are equal.

5) testMissingViewScriptDoesDoubleRender(Zend_Layout_FunctionalTest)
Failed asserting that two strings are equal.

Activity

Hide
Matthew Weier O'Phinney added a comment -

Should now be fixed in trunk and 1.7 release branch

Show
Matthew Weier O'Phinney added a comment - Should now be fixed in trunk and 1.7 release branch

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: