engine_components icon indicating copy to clipboard operation
engine_components copied to clipboard

IFC file containing "$" in header fails to load

Open jenslind opened this issue 1 year ago • 1 comments

Describe the bug 📝

I have an IFC model containing the following header:

FILE_DESCRIPTION($,'2;1');

which fails to load with the following error being thrown:

Uncaught (in promise) TypeError: Cannot read properties of null (reading '0')
at .getDescriptionInfo (@thatopen_components.js?v=749602ea:8678:15)
at .getAllGeometries (@thatopen_components.js?v=749602ea:9009:25)
at .load (@thatopen_components.js?v=749602ea:8942:26)

It looks like the same issue discussed in https://github.com/ThatOpen/engine_components/issues/207

Reproduction ▶️

No response

Steps to reproduce 🔢

No response

System Info 💻

System:
    OS: macOS 14.6.1
    CPU: (11) arm64 Apple M3 Pro
    Memory: 97.08 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - /usr/local/bin/node
    Yarn: 1.22.21 - /usr/local/bin/yarn
    npm: 10.2.4 - /usr/local/bin/npm
  Browsers:
    Chrome: 128.0.6613.138
    Edge: 128.0.2739.79
    Safari: 17.6

Used Package Manager 📦

npm

Error Trace/Logs 📃

No response

Validations ✅

  • [X] Read the docs.
  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • [X] 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.
  • [X] Check that this is a concrete bug. For Q&A join our Community.
  • [X] The provided reproduction is a minimal reproducible example of the bug.

jenslind avatar Sep 19 '24 10:09 jenslind

I got it! I have messaged @HoyosJuan

helenkwok avatar Oct 11 '24 01:10 helenkwok

Fixed from @thatopen/[email protected] thanks to @helenkwok!

agviegas avatar Oct 13 '24 17:10 agviegas