Skip to content

BCFTopics Import fails #626

@CarlosAMCG

Description

@CarlosAMCG

Describe the bug 📝

I attempted to integrate the BCF Component into my project. While the export functionality works flawlessly, importing the same BCF file triggers an error. To verify the issue, I revisited the official tutorial (https://thatopen.github.io/engine_components/examples/BCFTopics/), and the error is reproducible there as well. It seems the problem might be related to the import logic or file handling in the component.

Reproduction ▶️

https://thatopen.github.io/engine_components/examples/BCFTopics/

Steps to reproduce 🔢

Export the BCF file from the example
Import it again
An error is raised

System Info 💻

N/A

Used Package Manager 📦

npm

Error Trace/Logs 📃

index-Bv9-N0Ab.js:68 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'split')
at g (index-Bv9-N0Ab.js:68:4355)
at ve.load (index-Bv9-N0Ab.js:68:5688)
at async HTMLInputElement. (bCFTopics.js:1:2953)

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
  • Check that this is a concrete bug. For Q&A join our Community.
  • The provided reproduction is a minimal reproducible example of the bug.

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