[haiku-bugs] Re: [Haiku] #13461: Changes in "Full Edit" mode aren't applied

  • From: "waddlesplash" <trac@xxxxxxxxxxxx>
  • Date: Fri, 23 Jun 2017 23:41:10 -0000

#13461: Changes in "Full Edit" mode aren't applied
--------------------------------------------+--------------------------
   Reporter:  humdinger                     |      Owner:  waddlesplash
       Type:  bug                           |     Status:  new
   Priority:  normal                        |  Milestone:
  Component:  Website/Userguide Translator  |    Version:
 Resolution:                                |   Keywords:
 Blocked By:                                |   Blocking:
Has a Patch:  0                             |   Platform:  All
--------------------------------------------+--------------------------

Comment (by waddlesplash):

 OK, I finally managed to extract an error for this:

 {{{
 Fatal error:  Uncaught exception 'PDOException' with message
 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
 '40-8a57542c0d5ae0986194069391c35f40' for key 'doc_md5'' in /srv/www/i18n-
 htdocs/userguide/inc/common.php:150
 Stack trace:
 #0 /srv/www/i18n-htdocs/userguide/inc/common.php(150):
 PDOStatement-&gt;execute(Array)
 #1 /srv/www/i18n-htdocs/userguide/edit.php(539):
 db_query('\n\t\t\t\t\tINSERT IN...', Array)
 #2 /srv/www/i18n-htdocs/userguide/edit.php(502):
 update_translations(Object(DOMElement), Array)
 #3 /srv/www/i18n-htdocs/userguide/edit.php(502):
 update_translations(Object(DOMElement), Array)
 #4 /srv/www/i18n-htdocs/userguide/edit.php(502):
 update_translations(Object(DOMElement), Array)
 #5 /srv/www/i18n-htdocs/userguide/edit.php(502):
 update_translations(Object(DOMElement), Array)
 #6 /srv/www/i18n-htdocs/userguide/edit.php(235):
 update_translations(Object(DOMDocument), Array)
 #7 {main}
   thrown in /srv/www/i18n-htdocs/userguide/inc/common.php on line 150
 }}}

 This doesn't look like it's going to be fun to debug.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13461#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: