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

Closed
karolis-zukauskas opened this issue Jan 21, 2025 · 2 comments
Closed

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

karolis-zukauskas opened this issue Jan 21, 2025 · 2 comments
Assignees
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
Copy link
Member

grigasp commented Jan 24, 2025

Looks like the issue is in one of the itwinjs-core packages: iTwin/itwinjs-core#7603.

@grigasp grigasp closed this as completed Feb 19, 2025
@grigasp
Copy link
Member

grigasp commented Feb 19, 2025

The problem is in iTwin.js core: iTwin/itwinjs-core#7603. I'm closing this one as there's nothing we can do on our end.

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