Ticket #13879 (new Bug)

Opened 20 months ago

Last modified 17 months ago

referencebrowserwidget: reference reordering and remove reference (for single value) are broken

Reported by: gotcha Owned by: gotcha
Priority: minor Milestone: 4.x
Component: JavaScript Version: 4.3
Keywords: Cc:

Description (last modified by gotcha) (diff)

In edit view, reordering references (that were previously added and saved) is broken. However, reordering references that were just added with overlay does work.

Remove reference button (which is shown only in case of ReferenceBrowserWidget multivalue=False) is broken.

This was broken by  https://github.com/plone/archetypes.referencebrowserwidget/commit/c7c280655352c2ec3ef2eb5e19b5f9d5ee427ac5 : some of the functions that are wrapped in the jQuery call are not available anymore in the global namespace. Which breaks the onclick handlers.

Change History

comment:1 Changed 20 months ago by gotcha

  • Description modified (diff)

comment:2 Changed 20 months ago by gotcha

  • Description modified (diff)

comment:3 Changed 18 months ago by keul

  • Component changed from Unknown to JavaScript

This seems closed in 2.4.21, isn't it?

comment:4 Changed 17 months ago by jensens

This bug is referenced in pull-request  https://github.com/plone/archetypes.referencebrowserwidget/pull/13 here. Seems a bit unclear what the state is. Needs clarification and a decision.

Note: See TracTickets for help on using tickets.