Title: Model.load(..) fails if called with deep=true · Issue #32 · opensourceBIM/BIMserver-JavaScript-API · GitHub
Open Graph Title: Model.load(..) fails if called with deep=true · Issue #32 · opensourceBIM/BIMserver-JavaScript-API
X Title: Model.load(..) fails if called with deep=true · Issue #32 · opensourceBIM/BIMserver-JavaScript-API
Description: Hi, i've noticed that Model.load doesn't call the callback if called with deep=true. i.e.: const client = new bimserverapi.BimServerClient(SERVER_ADDRESS); // ... client.getModel( poid, roid, schema, true, // deep loadedModel => { consol...
Open Graph Description: Hi, i've noticed that Model.load doesn't call the callback if called with deep=true. i.e.: const client = new bimserverapi.BimServerClient(SERVER_ADDRESS); // ... client.getModel( poid, roid, schem...
X Description: Hi, i've noticed that Model.load doesn't call the callback if called with deep=true. i.e.: const client = new bimserverapi.BimServerClient(SERVER_ADDRESS); // ... client.getModel( poid, roi...
Opengraph URL: https://github.com/opensourceBIM/BIMserver-JavaScript-API/issues/32
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Model.load(..) fails if called with deep=true","articleBody":"Hi,\r\n\r\ni've noticed that `Model.load` doesn't call the callback if called with `deep=true`.\r\ni.e.:\r\n```javascript\r\nconst client = new bimserverapi.BimServerClient(SERVER_ADDRESS);\r\n// ...\r\nclient.getModel(\r\n poid,\r\n roid,\r\n schema,\r\n true, // deep\r\n loadedModel => {\r\n console.log(\"Model loaded!\");\r\n },\r\n \"TestModel\"\r\n );\r\n```\r\n\r\nthis is due to the missing `query` param in the `download` call:\r\nhttps://github.com/opensourceBIM/BIMserver-JavaScript-API/blob/fbe734c4d8afecff32977b9afb45ac0dc2d2c221/model.js#L40-L44\r\n\r\nThis is also confirmed by the BIMServer, which logs\r\n```\r\n12:06:45 ERROR [qtp669700766-34]: Missing parameter: download -> query \r\n```\r\n\r\nwhen the above code is executed","author":{"url":"https://github.com/GiacomoManzoli","@type":"Person","name":"GiacomoManzoli"},"datePublished":"2019-07-11T10:16:20Z","url":"https://github.com/opensourceBIM/BIMserver-JavaScript-API/issues/32"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9d90f553-33f0-7d10-935e-248281075e96 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C5F2:266CF3:D61010:1176379:6B04E340 |
| html-safe-nonce | 836a6e5b7698f0a3d33c13025c2b2eeb2c916bd5301ac84be639e9759baacb6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUYyOjI2NkNGMzpENjEwMTA6MTE3NjM3OTo2QjA0RTM0MCIsInZpc2l0b3JfaWQiOiIxMDMwMzgzNzYxNTc1MTc0OTc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 73da43e5578cf6a492ad304ae4378e3ae2255e74535e5fcc4ce32e8d74f7a8e6 |
| hovercard-subject-tag | issue:466800513 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/opensourceBIM/BIMserver-JavaScript-API/32/issue_layout |
| twitter:image | https://opengraph.githubassets.com/51c52e8bb7df9113badbf3a2d81f707b553f894fb1990a72e288611aa0bf85ab/opensourceBIM/BIMserver-JavaScript-API/issues/32 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/51c52e8bb7df9113badbf3a2d81f707b553f894fb1990a72e288611aa0bf85ab/opensourceBIM/BIMserver-JavaScript-API/issues/32 |
| og:image:alt | Hi, i've noticed that Model.load doesn't call the callback if called with deep=true. i.e.: const client = new bimserverapi.BimServerClient(SERVER_ADDRESS); // ... client.getModel( poid, roid, schem... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GiacomoManzoli |
| hostname | github.com |
| expected-hostname | github.com |
| None | 970f03f35f02bb123d2b6f1884601d89a570dc02e5ef9612b1b6ca5c033b1796 |
| turbo-cache-control | no-preview |
| go-import | github.com/opensourceBIM/BIMserver-JavaScript-API git https://github.com/opensourceBIM/BIMserver-JavaScript-API.git |
| octolytics-dimension-user_id | 767487 |
| octolytics-dimension-user_login | opensourceBIM |
| octolytics-dimension-repository_id | 49126254 |
| octolytics-dimension-repository_nwo | opensourceBIM/BIMserver-JavaScript-API |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49126254 |
| octolytics-dimension-repository_network_root_nwo | opensourceBIM/BIMserver-JavaScript-API |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ebcec4199c8521b643c068ef118a1ba9a43b678a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width