• 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
Frameworks, ERAttachment and Migration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Frameworks, ERAttachment and Migration


  • Subject: Frameworks, ERAttachment and Migration
  • From: James Cicenia <email@hidden>
  • Date: Fri, 16 Sep 2011 09:54:06 -0500

Hello -

I am now trying to expand my ERModern App to handle attachments.

1) I have my database model in its own framework. 
2) I added the Attachment Framework and then created a relationship to ERAttachment.
3) I created a migrations file from my Model.
4) I turn on migrations in the App's properties file
5) I launch the app :

ERROR er.extensions.appserver.ERXApplication  - BlessingsApp failed to start.
IllegalArgumentException: EORelationship(): cannot find entity named ERAttachment for destination of relationship mainImage in entity Author.
  at com.webobjects.eoaccess.EORelationship.<init>(EORelationship.java:773)
  at com.webobjects.eoaccess.EOEntity.relationships(EOEntity.java:1055)

Shouldn't the migration have created the entity?

What step did I miss? OR... where are the sql scripts? I didn't see them in the frameworks Resources folder.

Thanks
James

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: Frameworks, ERAttachment and Migration
      • From: David Holt <email@hidden>
  • Prev by Date: Rép : Re: Re: WOComponent and RTF text
  • Next by Date: Re: Frameworks, ERAttachment and Migration
  • Previous by thread: Réexp : How to get selected Object of AjaxAutoComplete
  • Next by thread: Re: Frameworks, ERAttachment and Migration
  • Index(es):
    • Date
    • Thread