Web Images Videos Maps News Shopping Google Mail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
#1619: ActAs Searchable on actAs I18n failed
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Doctrine  
View profile   Translate to Translated (View Original)
 More options 27 Oct 2008, 22:19
From: "Doctrine" <no-re...@phpdoctrine.org>
Date: Mon, 27 Oct 2008 22:19:21 -0000
Local: Mon 27 Oct 2008 22:19
Subject: [Doctrine] #1619: ActAs Searchable on actAs I18n failed
#1619: ActAs Searchable on actAs I18n failed
-----------------------------------+--------------------------------------- -
 Reporter:  Garfield-fr            |       Owner:  jwage  
     Type:  defect                 |      Status:  new    
 Priority:  major                  |   Milestone:  Unknown
Component:  Searchable             |     Version:  1.0.3  
 Keywords:                         |    Has_test:  1      
 Mystatus:  Pending Core Response  |   Has_patch:  0      
-----------------------------------+--------------------------------------- -
 I would like to have a seachable behavior on i18n behavior but this
 functionality failed on save

 my schema:

 {{{
 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)

 }}}

 Insert error:
 {{{
 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>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Doctrine  
View profile   Translate to Translated (View Original)
 More options 3 Nov 2008, 12:03
From: "Doctrine" <no-re...@phpdoctrine.org>
Date: Mon, 03 Nov 2008 12:03:27 -0000
Local: Mon 3 Nov 2008 12:03
Subject: Re: [Doctrine] #1619: ActAs Searchable on actAs I18n failed
#1619: ActAs Searchable on actAs I18n failed
--------------------------+------------------------------------------------ -
  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            |  
--------------------------+------------------------------------------------ -
Comment (by jj):

 This is not working for "Versionable", too.

 yaml schema:
 {{{
 Article:
     actAs:
         I18n:
             fields: [title,text]
             actAs:
                 Versionable:
                     fields: [title,text]
     columns:
         title: string(16)
         text: string(32)
         active: boolean
 }}}

 Insert error:

 {{{
 Fatal error: Uncaught exception 'Doctrine_Connection_Mysql_Exception' with
 message 'SQLSTATE[HY000]: General error: 1452 Cannot add or update a child
 row: a foreign key constraint fails (`test/article_translation`,
 CONSTRAINT `article_translation_ibfk_1` FOREIGN KEY (`id`) REFERENCES
 `article_translation_version` (`id`))' in
 C:\xampp\workspace\doctrine-1.0\Doctrine\Connection.php:1075 Stack trace:
 #0 C:\xampp\workspace\doctrine-1.0\Doctrine\Connection\Statement.php(244):
 Doctrine_Connection->rethrowException(Object(PDOException),
 Object(Doctrine_Connection_Statement)) #1
 C:\xampp\workspace\doctrine-1.0\Doctrine\Connection.php(1040):
 Doctrine_Connection_Statement->execute(Array) #2
 C:\xampp\workspace\doctrine-1.0\Doctrine\Connection.php(674):
 Doctrine_Connection->exec('INSERT INTO art...', Array) #3
 C:\xampp\workspace\doctrine-1.0\Doctrine\Connection\UnitOfWork.php(590):
 Doctrine_Connection->insert(Object(Doctrine_Table), Array) #4
 C:\xampp\workspace\doctrine-1.0\Doctrine\Connection\UnitOfWork.php(552):
 Doctrine_Connection in
 C:\xampp\workspace\doctrine-1.0\Doctrine\Connection.php on line 1075
 }}}

--
Ticket URL: <http://trac.doctrine-project.org/ticket/1619#comment:1>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Doctrine  
View profile   Translate to Translated (View Original)
 More options 13 Nov 2008, 23:24
From: "Doctrine" <no-re...@phpdoctrine.org>
Date: Thu, 13 Nov 2008 23:24:45 -0000
Local: Thurs 13 Nov 2008 23:24
Subject: Re: [Doctrine] #1619: ActAs Searchable on actAs I18n failed
#1619: ActAs Searchable on actAs I18n failed
--------------------------+------------------------------------------------ -
  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):

  * milestone:  => Unknown

Old description:

New description:

 I would like to have a seachable behavior on i18n behavior but this
 functionality failed on save

 my schema:

 {{{
 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)

 }}}

 Insert error:
 {{{
 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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Doctrine  
View profile   Translate to Translated (View Original)
 More options 2 Dec 2008, 02:46
From: "Doctrine" <no-re...@phpdoctrine.org>
Date: Tue, 02 Dec 2008 02:46:49 -0000
Local: Tues 2 Dec 2008 02:46
Subject: Re: [Doctrine] #1619: ActAs Searchable on actAs I18n failed
#1619: ActAs Searchable on actAs I18n failed
-----------------------------------+--------------------------------------- -
 Reporter:  Garfield-fr            |       Owner:  jwage
     Type:  defect                 |      Status:  new  
 Priority:  major                  |   Milestone:  1.0.5
Component:  Searchable             |     Version:  1.0.3
 Keywords:                         |    Has_test:  1    
 Mystatus:  Pending Core Response  |   Has_patch:  0    
-----------------------------------+--------------------------------------- -
Changes (by jwage):

  * milestone:  Unknown => 1.0.5

--
Ticket URL: <http://trac.doctrine-project.org/ticket/1619#comment:4>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google