Skip to content

spreadsheet_oca: error when breadcrumbs get 4+ depth #124

Description

@arielbarreiros96

While developing a new module dependant on spreadsheet_oca I've noticed that the editor fails to open when the breadcrumbs are 4+ depth.

Module

spreadsheet_oca

Describe the bug

If on a given situation, we try to access the editor, and at that particular moment the breadcrumbs are 4+ depth, we get an Owl error "Error: Component is destroyed"

To Reproduce

Affected versions: at least v18 and v19

Steps to reproduce the behavior (on spreadsheet_oca vanilla is really hard to detect, so I'll manually create a field for the sake of replicating this problem):

  1. Manually create a m2o field for the spreadsheet.spreadsheet model, make it a relational to spreadsheet.spreadsheet itlself
Image
  1. Add that field to the form view and create any relation, any record would do.
Image
  1. Use the internal link for accessing the related record
  2. Once the breadcrumbs depth is 4+ depth, try to use the Edit smart button, this will trigger the error (Error: Component is destroyed) and you won't be able to access the editor interface

Expected behavior
Being able to access the editor's interface no matter the depth of the breadcrumbs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions