[Product-Developers] Persistent broken five.intid.intid.IntIds after Plone 4.2 -> 4.3 migration

Nathan Van Gheem vangheem at gmail.com
Sun May 26 17:59:20 UTC 2013


Can anybody else confirm? I changed the js include for search.js to not be
included on all pages, search the search page; however, that was not
causing tinymce to fail loading for me.

The first error in the screen grab console I can't reproduce.


On Sun, May 26, 2013 at 12:56 PM, Andreas Jung <lists at zopyx.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Not working for me - neither with Chrome nor with Firefox.
>
> http://s14.directupload.net/file/d/3267/y8myh4zu_png.htm
> - -aj
>
> Nathan Van Gheem wrote:
> > Working for me. No problems.
> >
> >
> > On Sun, May 26, 2013 at 12:48 PM, Andreas Jung <lists at zopyx.com
> > <mailto:lists at zopyx.com>> wrote:
> >
> > Sorry but even plone.org <http://plone.org> is fucked up.
> >
> > I tried to edit
> >
> >
> http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-4.2-to-4.3/dexterity-optional-extras/edit
> >
> >  This gives me an empty editor area and JS failures.
> >
> > -aj
> >
> > Nathan Van Gheem wrote:
> >
> >
> >
> >> On Sun, May 26, 2013 at 12:12 PM, ajung <lists at zopyx.com
> > <mailto:lists at zopyx.com>
> >> <mailto:lists at zopyx.com <mailto:lists at zopyx.com>>> wrote:
> >
> >> This is not a troubleshooting section where one can find help
> >> based on subtle error messages. The documentation does not give a
> >> direct from error to error resolution. If there are no objections I
> >> will add the related traceback and error information to the docs
> >> here.
> >
> >> +1
> >
> >
> >
> >> -aj
> >
> >
> >> Nathan Van Gheem wrote
> >>>
> >
> >
> http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-4.2-to-4.3/referencemanual-all-pages
> >
> >
> >
> >
> >>>
> >>> On Sun, May 26, 2013 at 10:32 AM, Andreas Jung <
> >
> >>> lists@
> >
> >>> > wrote:
> >>>
> >> Thanks.
> >
> >> Do we have troubleshoting section in the documentation related to
> >> upgrade problems?
> >
> >> Andreas
> >
> >> David Glick wrote:
> >>> As documented in the upgrade guide and Dexterity release notes
> >>> you must install plone.app.dexterity with the [relations] extra
> >>> if upgrading to Dexterity 2. This is unfortunate but was
> >>> necessary since no one has committed to maintaining the relation
> >>> support, so it couldn't be submitted to be in core.
> >
> >>> David Glick (mobile)
> >
> >>> On May 26, 2013, at 6:30 AM, Andreas Jung <
> >
> >>>> lists@
> >
> >>>> > wrote:
> >
> >>> Plone 4.3:
> >
> >>> calling
> >
> >>> img.target.to_object
> >
> >>> fails for all referenced objects of a Plone site migrated from
> >>> Plone 4.2.X to Plone 4.3
> >
> >
> >
> >
> >
> >>>
> >
> /home/plone/.buildout/eggs/z3c.relationfield-0.6.2-py2.7.egg/z3c/relationfield/relation.py(111)_object()
> >
> >
> >>>
> >
> >
> >>> -> try: (Pdb) list 106      def _object(id): 107          if id
> >>> is None: 108              return None 109          intids =
> >>> component.getUtility(IIntIds) 110          import pdb;
> >>> pdb.set_trace() 111  ->        try: 112              return
> >>> intids.getObject(id) 113          except KeyError: 114 # XXX
> >>> catching this error is not the right thing to do. 115 # instead,
> >>> breaking a relation by removing an object should 116 # be caught
> >>> and the relation should be adjusted that way.
> >
> >>> (Pdb) print intids
> >>>> <persistent broken five.intid.intid.IntIds
> >
> >>>>> instance '\x00\x00\x00\x00\x00\x04\x9e\xb8'>
> >
> >>> (Pdb) intids.getObject(id) *** AttributeError: getObject
> >
> >>> Why do we have broken five.intid here?
> >
> >>> -aj
> >>>>
> >>>> <lists.vcf> _______________________________________________
> >>>> Product-Developers mailing list
> >
> >>>> Product-Developers at .plone
> >
> >>>> https://lists.plone.org/mailman/listinfo/plone-product-developers
> >
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Product-Developers mailing list
> >>>>
> >
> >>> Product-Developers at .plone
> >
> >>>> https://lists.plone.org/mailman/listinfo/plone-product-developers
> >
> >>>>
> >>>>
> >>>
> >>>>
> >>>
> >>> _______________________________________________
> >>> Product-Developers mailing list
> >
> >>> Product-Developers at .plone
> >
> >>> https://lists.plone.org/mailman/listinfo/plone-product-developers
> >
> >>>
> >
> >
> >
> >
> >> -- View this message in context:
> >
> >
> http://plone.293351.n2.nabble.com/Persistent-broken-five-intid-intid-IntIds-after-Plone-4-2-4-3-migration-tp7565368p7565373.html
> >
> >
> >
> > Sent from the Product Developers mailing list archive at Nabble.com.
> >> _______________________________________________ Product-Developers
> >> mailing list Product-Developers at lists.plone.org
> > <mailto:Product-Developers at lists.plone.org>
> >> <mailto:Product-Developers at lists.plone.org
> > <mailto:Product-Developers at lists.plone.org>>
> >> https://lists.plone.org/mailman/listinfo/plone-product-developers
> >
> >
> >
> >
> >
>
> - --
> ZOPYX Limited         | Python | Zope | Plone | MongoDB
> Hundskapfklinge 33    | Consulting & Development
> D-72074 Tübingen      | Electronic Publishing Solutions
> www.zopyx.com         | Scalable Web Solutions
> - --------------------------------------------------
> Produce & Publish - www.produce-and-publish.com
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQGUBAEBAgAGBQJRokyzAAoJEADcfz7u4AZjz6oLvjj02Uwv+AyMY9natOXJnIV2
> A65BfhBm499DEgSlj1OpJ404dUeUmrqxGa6eE14YdS2VAULZW2ElgMZKHndDYOfm
> 9vWXwiP4rZ9JS0fy7JZ7o2YemW2qxx4S8BpbQiT46RlD4/rlOy9JAHcZR6wOw+JB
> JHgE00m4PO1g5WtvDmhUFeefYx/NLaBFHn0RsIZBecXmz+iReO1qvQwfpm+cYBvS
> bLTEtfhkfbNVtrzZ7E76FMj1fA7z8dxzbXzFukpTXvKq8z/O8WHKoQApWsNzN2Jb
> TIU+Xt48PbOk6/kLjWHRvD8974klzNYyzOAa+Ibo4Ft+zLA6/QqbQ+6HwysIqmeD
> /ZXDiK2ayZYsSXyK+ZmYg++etB5cUKCmo6wlv3E2d13jZ/NKlk18ULthNqNZ/5pj
> NJ4XkdW2jU9vix9Kd6HunwvuJfTJMjHcqkP2zCFBNblIOefXlBuh8r9Qw++8ggVy
> IcaKC86cIHncWcrONmi7gKHcHG/AlR4=
> =s282
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20130526/ed03031e/attachment-0001.html>


More information about the Product-Developers mailing list