• 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
Re: Migrations and Application's finishInitialization()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Migrations and Application's finishInitialization()


  • Subject: Re: Migrations and Application's finishInitialization()
  • From: Johann Werner <email@hidden>
  • Date: Sun, 19 Sep 2010 15:58:30 +0200

Hi Farrukh,

you should use the method didFinishLaunching (look at ERXApplication). This method should be called after all init/migration/etc stuff has been done.

jw

Am 19.09.2010 um 11:28 schrieb Farrukh Ijaz:

> Hi again,
>
> How can I control the execution of finishInitialization() method of my application to execute after the all the models have been upgraded using Migrations?
>
> Right now what happens, our applications use some entities in the finishInitialization() method however the application breaks with exception that relationship blah blah does not exist, as Migrations's upgrade method have not yet called. This I've tested also placing some debugging information and break points in the upgrade and finishInitialization() method.
>
> Do we need to use Notifications? If so, what would be the appropriate place to post notification?
>
> Thanks,
>
> Farrukh

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Migrations and Application's finishInitialization()
      • From: Farrukh Ijaz <email@hidden>
    • Re: Migrations and Application's finishInitialization()
      • From: Mike Schrag <email@hidden>
References: 
 >Migrations and Application's finishInitialization() (From: Farrukh Ijaz <email@hidden>)

  • Prev by Date: Re: Migrations and Default Values
  • Next by Date: Re: Migrations and Application's finishInitialization()
  • Previous by thread: Re: Migrations and Application's finishInitialization()
  • Next by thread: Re: Migrations and Application's finishInitialization()
  • Index(es):
    • Date
    • Thread