Zend Framework

Zend_View_Helper_FormElement::_hidden() behaves inconsistently with doctype

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.5.1
  • Fix Version/s: 1.5.2
  • Component/s: Zend_View
  • Labels:
    None
  • Fix Version Priority:
    Must Have

Description

Reported by romme @ #zftalk

usually, view helpers check $this->view->doctype->isXhtml() to choose between rendering " />" or ">" as an empty tag notation. _hidden(), however, provides no such choice and always renders " />", which breaks validation.

Activity

Hide
Wil Sinclair added a comment -

Please categorize/fix as needed.

Show
Wil Sinclair added a comment - Please categorize/fix as needed.
Hide
Ralph Schindler added a comment -

Matthew, send this back if it ends up being a Doctype issue.

-ralph

Show
Ralph Schindler added a comment - Matthew, send this back if it ends up being a Doctype issue. -ralph
Hide
Matthew Weier O'Phinney added a comment -

Scheduling for next mini release.

Show
Matthew Weier O'Phinney added a comment - Scheduling for next mini release.
Hide
Matthew Weier O'Phinney added a comment -

Resolved in trunk and release 1.5 branch by r9324

Show
Matthew Weier O'Phinney added a comment - Resolved in trunk and release 1.5 branch by r9324

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
15m
Original Estimate - 15 minutes
Remaining:
15m
Remaining Estimate - 15 minutes
Logged:
Not Specified
Time Spent - Not Specified