ZF-6462: View adding extension to called resource / Docs wrong?

Description

In the documentation for Zend_Application, 4.2.3 suggests:

resources.layout.layout = "layout.phtml"

However, this causes: Uncaught exception 'Zend_View_Exception' with message 'script 'layout.phtml.phtml' not found in path

As you can see, .phtml is being added, removing the file extension works, but seems to be a contradiction in style. In either case it appears the layout loader is wrong or the documentation is wrong.

Using Trunk.

Comments

Fixed in trunk and 1.8 release branch; will update on site with 1.8 release.