Not sure why I'm doing your googling for you but there were TWO threads in August dealing with this topic.
ERAttachment... to-many and thumbs D2W And ERAttahcment On 2011-09-16, at 9:24 AM, James Cicenia wrote: > Ahhh! Found how to turn debug on: > log4j.logger.er.extensions.migration.ERXMigrator=DEBUG > > It wanted BlessingsAndApp2 .. I misread what the version number should be. > > Now I have some sql error.. stay tuned! > > My first cradle to crave WOProject using all the "best" practices including > migrations, attachments, ermodernlook and soon ERRest!! > > James > > > > On Sep 16, 2011, at 11:09 AM, David Holt wrote: > >> Did you add ERAttachment framework to your application build path too? >> >> >> On 2011-09-16, at 7:54 AM, James Cicenia wrote: >> >>> 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 >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list ([email protected]) >>> Help/Unsubscribe/Update your Subscription: >>> http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com >>> >>> This email sent to [email protected] >> > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com > > This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
