| |
doctrine-svn |
#1619: ActAs Searchable on actAs I18n failed
* milestone: => Unknown
Old description:
> my schema:
> {{{
> }}}
> Insert error:
I would like to have a seachable behavior on i18n behavior but this
my schema:
{{{
}}}
Insert error:
--
--------------------------+------------------------------------------------ -
Reporter: Garfield-fr | Owner: jwage
Type: defect | Status: new
Priority: major | Milestone: Unknown
Component: Searchable | Version: 1.0.3
Resolution: | Keywords:
Has_test: 1 | Mystatus: Pending Core Response
Has_patch: 0 |
--------------------------+------------------------------------------------ -
Changes (by jwage):
> functionality failed on save
> Article:
> tableName: article
> actAs:
> I18n:
> fields: [name, description]
> actAs:
> Searchable:
> fields: [name]
> columns:
> id:
> type: integer(3)
> primary: true
> autoincrement: true
> name:
> type: string(60)
> description:
> type: string(4000)
> {{{
> SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or
> update a child row:
> a foreign key constraint fails (`incubator12/article_i18n`, CONSTRAINT
> `article_i18n_ibfk_1`
> FOREIGN KEY (`id`) REFERENCES `article_i18n_index` (`id`))
> }}}
functionality failed on save
Article:
tableName: article
actAs:
I18n:
fields: [name, description]
actAs:
Searchable:
fields: [name]
columns:
id:
type: integer(3)
primary: true
autoincrement: true
name:
type: string(60)
description:
type: string(4000)
{{{
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update
a child row:
a foreign key constraint fails (`incubator12/article_i18n`, CONSTRAINT
`article_i18n_ibfk_1`
FOREIGN KEY (`id`) REFERENCES `article_i18n_index` (`id`))
}}}
Ticket URL: <http://trac.doctrine-project.org/ticket/1619#comment:3>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper