ZF-11766: More Descriptive Exception Message When No Primary Key Found

Issue Type: Patch Created: 2011-09-23T15:24:55.000+0000 Last Updated: 2012-06-15T13:44:49.000+0000 Status: Resolved Fix version(s): - 1.12.0 (27/Aug/12)

Reporter: Zachary Schuessler (zschuessler) Assignee: Zachary Schuessler (zschuessler) Tags: - Zend_Db_Table

  • After1.12.0
  • state:patch-ready-for-review
  • zf-caretaker-adamlundrigan
  • zf-crteam-review

Related issues: Attachments: - library.diff


I propose we use the protected class variable $_name in Zend_Db_Table_Abstract to name the table that does not have a primary key. It would save developers a small bit of time.

This is my first patch, let me know if I need to do anything else.


Posted by Adam Lundrigan (adamlundrigan) on 2012-06-15T13:44:49.000+0000

Fixed in trunk (1.12.0): r24958

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.