Bug Report #1249

Inflector fails when table name has multiple words.

Added by Ilari Mäkimattila - almost 3 years ago. Updated over 2 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:Ben Rogers % Done:

100%

Category:Helpers
Target version:2.4
Resolution:fixed Points:

Description

I guess this is somewhat expected behaviour but ORM is unable to find classes named like Page_news_Model, because it's looking for Page_newses_Model.

I wrote a little patch to inflector which fixed the problem.

MY_inflector.php (515 Bytes) Ilari Mäkimattila -, 04/09/2009 01:11 pm


Related issues

related to Kohana v2.x - Bug Report #2167: [Inflector] Can't find support for exceptions in multiple... 2.4 Closed 09/23/2009
duplicated by Kohana v2.x - Feature Request #1935: Inflector: derivatives of generic uncountables should be ... 2.4 Rejected 08/12/2009
duplicated by Kohana v2.x - Bug Report #2633: Inflector should check irregular values as a suffix 2.4 Closed 02/20/2010

Associated revisions

History

Updated by Jeremy Bush over 2 years ago

  • Target version set to 2.4
  • 11 set to 2.3.4

Updated by Jeremy Bush over 2 years ago

  • Status changed from New to Assigned
  • Assignee set to Parnell Springmeyer

Updated by Ben Rogers over 2 years ago

  • Assignee changed from Parnell Springmeyer to Ben Rogers

Updated by Ben Rogers over 2 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset r4549.

Updated by Ben Rogers over 2 years ago

  • Resolution set to fixed

Also available in: Atom PDF