Doctrine Project

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Doctrine 1
  • Doctrine 1
  • DC-556

Index name error

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.1
  • Fix Version/s: 1.2.2
  • Component/s: Sluggable
  • Labels:
    None

Description

At this moment, if you have more than one table that is sluggable, it get an error cause tries to set the very same name to ALL sluggable indexes. Here is a fix:

#55: 'indexName' => null

#74: if($this->_options['indexName'] === null)
#75: $this->_options['indexName'] = $this->getTable()- >getTableName().'_sluggable';

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    sluggable.diff
    15/Mar/10 10:11 AM
    1.0 kB
    Sid GBF

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
  • Source
Hide
Permalink
Sid GBF added a comment - 15/Mar/10 10:11 AM

Fixing some typos

Show
Sid GBF added a comment - 15/Mar/10 10:11 AM Fixing some typos
Hide
Permalink
Jonathan H. Wage added a comment - 15/Mar/10 3:29 PM

Thanks for the issue and patch.

Show
Jonathan H. Wage added a comment - 15/Mar/10 3:29 PM Thanks for the issue and patch.

People

  • Assignee:
    Jonathan H. Wage
    Reporter:
    Sid GBF
Vote (0)
Watch (0)

Dates

  • Created:
    09/Mar/10 2:40 PM
    Updated:
    15/Mar/10 3:29 PM
    Resolved:
    15/Mar/10 3:29 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Doctrine Project. Try JIRA - bug tracking software for your team.