Title: Model.load missing query param · Issue #28 · opensourceBIM/BIMserver-JavaScript-API · GitHub
Open Graph Title: Model.load missing query param · Issue #28 · opensourceBIM/BIMserver-JavaScript-API
X Title: Model.load missing query param · Issue #28 · opensourceBIM/BIMserver-JavaScript-API
Description: I've tried to use the Model but i've notice that if i call the load method: const poid = project.oid; const roid = project.lastRevisionId; const schema = project.schema; return new Promise((resolve, reject) => { client.getModel(poid, roi...
Open Graph Description: I've tried to use the Model but i've notice that if i call the load method: const poid = project.oid; const roid = project.lastRevisionId; const schema = project.schema; return new Promise((resolve...
X Description: I've tried to use the Model but i've notice that if i call the load method: const poid = project.oid; const roid = project.lastRevisionId; const schema = project.schema; return new Promise(...
Opengraph URL: https://github.com/opensourceBIM/BIMserver-JavaScript-API/issues/28
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Model.load missing query param","articleBody":"I've tried to use the `Model` but i've notice that if i call the `load` method:\r\n\r\n```javascript\r\nconst poid = project.oid;\r\nconst roid = project.lastRevisionId;\r\nconst schema = project.schema;\r\n\r\nreturn new Promise((resolve, reject) => {\r\n client.getModel(poid, roid, schema, true, (loadedModel) => { \r\n console.log(\"Model loaded!\"); \r\n resolve(loadedModel) \r\n },'Test');\r\n});\r\n```\r\n\r\nmy callback functions doesn't get called and the BIMServer (v1.5.124) logs this error\r\n\r\n```\r\n18:27:19 ERROR [qtp1492822331-42]: Missing parameter: download -> query \r\n```\r\n\r\nand looking at the source the param is missing. What should be the effect of the `load` method? To execute a standard pre-load query or it should take the query as a parameter?\r\nhttps://github.com/opensourceBIM/BIMserver-JavaScript-API/blob/584ba60e71fe32a470109883daff5c96c05bb99b/model.js#L40-L44","author":{"url":"https://github.com/GiacomoManzoli","@type":"Person","name":"GiacomoManzoli"},"datePublished":"2019-02-14T17:34:33Z","url":"https://github.com/opensourceBIM/BIMserver-JavaScript-API/issues/28"}
| 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:57befd48-91ed-9ddb-789e-3d24f7654ac6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82B8:31EE77:DDD016:11FE7FD:6B04E33E |
| html-safe-nonce | 8849d788b9889a3b8efebd138a5eea60cbe1eb5ef500d2d6505c7e71d2a558ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkI4OjMxRUU3NzpEREQwMTY6MTFGRTdGRDo2QjA0RTMzRSIsInZpc2l0b3JfaWQiOiIxMzA2OTQxMTE2Njk2MDI3OTY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b99e5fa1a76b2e8b43aa3a4d1ec832c6627f1e457d7b61353f48fe2ae85e03d7 |
| hovercard-subject-tag | issue:410412773 |
| 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/28/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f37ddad61e999a02675f9f84d9429ef512c338d7a89de63c42febce9b9dc9ef8/opensourceBIM/BIMserver-JavaScript-API/issues/28 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f37ddad61e999a02675f9f84d9429ef512c338d7a89de63c42febce9b9dc9ef8/opensourceBIM/BIMserver-JavaScript-API/issues/28 |
| og:image:alt | I've tried to use the Model but i've notice that if i call the load method: const poid = project.oid; const roid = project.lastRevisionId; const schema = project.schema; return new Promise((resolve... |
| 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