Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source and target units do not have matching base units #848

Open
karolis-zukauskas opened this issue Jan 21, 2025 · 0 comments
Open

Source and target units do not have matching base units #848

karolis-zukauskas opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working presentation

Comments

@karolis-zukauskas
Copy link

Property formatting fails with error: Source and target units do not have matching base units.

See iModel: https://qa-projectwise365.bentley.com/e66b372a-ac81-4142-8f14-3514a27ecfa8/itwin-design-review/iModel/8ee44db1-bdc3-4bb2-8f71-c7128e470257/801cf6ff03e72b09ee4b067823f8345581cf7159

Note that error does not happen in Design Review, but does happen in presentation test-app

Tested on presentation commit c9f32345, iTwin.js version 4.10.1

Reproduce:

  1. Somehow get a .bim file and open in test-app (cant attach here - contact me if needed)
  2. Use "SelectedNodeContent"
  3. Expand and select the following node:

Image

Notice that properties widget crashes:

Image

@grigasp grigasp added the bug Something isn't working label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working presentation
Projects
None yet
Development

No branches or pull requests

2 participants