Hi Jukka, Thanks for the response.
On 04/11/2011 09:49, Jukka Ojaniemi wrote:
You can check this quickly by creating a new item and point your related item field to this newly created type - it should work. Now reinstall product and try that again.
Yup - as you suggest, an "old" object cannot be linked to, a "new" one can.
If you put pdb to plone.app.relationfields setuphandlers.py code you'll see that when you reinstall your product your intid utility gets removed and then installed. When this happens you can say bye bye to your intids. I'm not sure if this is a feature or bug as you shouldn't really reinstall products. Just use portal_setups import tab if you need to bring some new GS-settings to your site. On the other hand if this is a feature, it is a nasty one and could really hurt your site.
From my PoV, this is unambiguously a bug - if I have content that relies on those intids, and the intids can be wiped, then I can't be sure I won't end up with broken content!
Will go report it... -- Regards, PhilK e: [email protected] - m: 07775 796 747 'work as if you lived in the early days of a better nation' - alasdair gray _______________________________________________ Product-Developers mailing list [email protected] https://lists.plone.org/mailman/listinfo/plone-product-developers
