• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Changes to PostgreSQL unique constraint handling in ERXSQLHelper
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to PostgreSQL unique constraint handling in ERXSQLHelper


  • Subject: Changes to PostgreSQL unique constraint handling in ERXSQLHelper
  • From: Paul Hoadley <email@hidden>
  • Date: Mon, 19 Nov 2012 17:31:33 +1030

Hi Ramsey,

I used to handle unique constraint violations via a custom editing context delegate in editingContextDidFailSaveChanges().  This worked fine, but since upgrading to a more recent Wonder, this no longer works (that method is never called on the delegate), and now I get a stack trace containing an ERXValidationException.  I assume this is related to your commit here:

---
commit a3d8ae17480f04ff5b517c82fc3c864975c3af66
Author: nullterminated <email@hidden>
Date:   Thu Jun 7 21:33:44 2012 -0700

    Add unique constraint handling to ERXSQLHelper for postgresql.
---

(Until recently, the application in question was using Wonder dated prior to 7 June, so the timing fits, at least.)  Could you explain how this new approach is supposed to work?  I'm sure it's better than what I was doing, but at the moment it breaks my delegate approach, and it's not clear whether I need to change every application that depended on that, or whether there's another centralised approach I could use.


--
Paul Hoadley
http://logicsquad.net/




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: D2W - How to turn of batching in EmbeddedLists
  • Next by Date: WOHostUtilities and local ips
  • Previous by thread: Re: Ajax Framework Bug?
  • Next by thread: WOHostUtilities and local ips
  • Index(es):
    • Date
    • Thread