Ticket #13614 (confirmed Bug)

Opened 3 years ago

Last modified 3 years ago

AttributeError at tinymce-jsondetails

Reported by: ristow Owned by:
Priority: minor Milestone: 4.x
Component: Visual Editor Version: 4.2
Keywords: Cc:

Description

If a object has no "PrimaryField" registered (for example "Collage"), the jsondetails view raises an error.

Steps to reproduce:

  • just access a collage object
  • call the view (/@@tinymce-jsondetails)

Versions:

  • TinyMCE-1.3.2
  • Collage-1.3.8

Traceback:

Module ZPublisher.Publish, line 126, in publish

Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 46, in call_object Module Products.TinyMCE.browser.browser, line 119, in jsonDetails Module Products.TinyMCE.adapters.JSONDetails, line 74, in getDetails Module Products.TinyMCE.browser.atanchors, line 31, in listAnchorNames

AttributeError: 'NoneType' object has no attribute 'getAccessor'

Change History

comment:1 Changed 3 years ago by kleist

  • Status changed from new to confirmed
  • Component changed from Unknown to Visual Editor
Note: See TracTickets for help on using tickets.