#4 — ArrayField doesn't work with ATReferenceBrowserWidget
by
Martin Preisler
—
last modified
Feb 21, 2009 09:07 PM
| State | Rejected |
|---|---|
| Version: | 1.0-beta4 |
| Area | ArrayField |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Martin Preisler |
| Submitted on | Mar 18, 2007 |
| Responsible |
—
|
| Target release: |
—
|
I tested ArrayField with ATReferenceBrowserWidget (I want to have array of references and I want to set the references in a convenient manner). However ArrayField (or ArrayWidget - doesn't work with both ArrayWidget and EnhancedArrayWidget) does some magic that breaks reference browser widget, I can't browse or remove the reference - the buttons are "dead".
FireBug JavaScript console outputs:
Warning: reference to undefined property node.className
Source File: http://localhost:8080/[…]/ploneScripts8595.js
Line: 84
Warning: reference to undefined property $selector[j]
Source File: http://localhost:8080/[…]/ploneScripts8595.js
Line: 36
Error: referencebrowser_openBrowser is not defined
Source File: http://localhost:8080/test/list/item
Line: 1
- Steps to reproduce:
- Install CompoundField, create product with schema containing ArrayField, whose inner field is ReferenceField with ATReferenceBrowserWidget, ArrayField can have both ArrayWidget or EnhancedArrayWidget. Edit any content of that schema. Assigning references doesn't work.
Added by
Barry Page
on
Nov 04, 2007 08:01 AM
I had a similar issue with my Plone 2.5.1 site, but not on 2.5.4
I added referencebrowser.js to portal_javascripts and it works fine now. This was with PromoEngine (product by sixfeetup)
Added by
Jens W. Klein
on
Feb 26, 2008 10:18 AM
its not supposed to work with such fields not using a real storage.
Issue state:
unconfirmed
→
rejected
No responses can be added.
If you can, please log in before submitting a reaction.
