OFFLINE-GmbH / oc-boxes-support

This repo is used for support requests for the OFFLINE.Boxes plugin
https://boxes.offline.ch
4 stars 0 forks source link

Duplicate box error #67

Closed sikhub closed 1 year ago

sikhub commented 1 year ago

Describe the bug When duplicating a box an error is thrown. After refreshing the page the box is there and can be edited and saved. Boxes were exported locally and imported on production.

The error that is thrown: "Attempt to read property "boxes" on null" on line 218 of /home/forge/{domain_name}/plugins/offline/boxes/formwidgets/BoxesEditor.php

Boxes Version v2.2.18

To Reproduce Steps to reproduce the behavior:

  1. Go to boxes content page
  2. Click on duplicate the box
  3. See error
  4. Refresh the page
  5. Box is there

Screenshots

Screenshot 2023-05-30 at 10 52 29

Video:

Offline Boxes - Duplicate error

https://www.youtube.com/watch?v=o_Jb6vNDAzo&ab_channel=sikmajnd

tobias-kuendig commented 1 year ago

Thank you very much for this detailed bug report @sikhub!

The bug is fixed in version v2.2.19