Anonymous | Login | Signup for a new account | 2021-01-17 03:56 PST | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Summary | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0008848 | opensim | [GRID] Asset Service | public | 2021-01-06 05:28 | 2021-01-06 06:48 | |||||
Reporter | Chris Weymann | |||||||||
Assigned To | ||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | patch included | Resolution | open | |||||||
Platform | Operating System | Operating System Version | ||||||||
Product Version | ||||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0008848: Typo in AssetData request uri string in AssetServiceConnector | |||||||||
Description | There is a spelling error in AssetServiceConnector which causes problems in interaction with AssetServerGetHandler. AssetServiceConnector creates the following URL with "/Data" at the end for retrieving an asset: http://inc.li:8002/assets/95d2c3fe-03f3-4130-807e-edb0a75708a9/Data [^] But AssetServerGetHandler expects a URL with a lowercase "/data" at the end. http://inc.li:8002/assets/95d2c3fe-03f3-4130-807e-edb0a75708a9/data [^] If AssetServerGetHandler gets a request with an uppercase "/Data" it returns a "Bad Request" error. | |||||||||
Steps To Reproduce | To reproduce this you only need to retrieve an asset with a web client of your choice. In this case I use curl and retrieve the file size. A call with the incorrect URL: curl -o asset.jpg2000 http://inc.li:8002/assets/95d2c3fe-03f3-4130-807e-edb0a75708a9/Data [^] && du -h asset.jpg2000 && rm asset.jpg2000 Returns the following file size: > 0 asset.jpg2000 A call with the correct URL: curl -o asset.jpg2000 http://inc.li:8002/assets/95d2c3fe-03f3-4130-807e-edb0a75708a9/data [^] && du -h asset.jpg2000 && rm asset.jpg2000 Returns the following file size: > 48K asset.jpg2000 | |||||||||
Additional Information | Normally this error is not noticeable because the regions retrieve their assets together with the metadata. But I have a module in use that needs exactly this function. And basically the correct URL should be used even if this will never happen in practice. | |||||||||
Tags | No tags attached. | |||||||||
Git Revision or version number | ||||||||||
Run Mode | Grid (1 Region per Sim) , Grid (Multiple Regions per Sim) | |||||||||
Physics Engine | ubODE | |||||||||
Script Engine | XEngine | |||||||||
Environment | Unknown | |||||||||
Mono Version | None | |||||||||
Viewer | ||||||||||
Attached Files | ![]() | |||||||||
![]() |
|
(0037466) Chris Weymann (reporter) 2021-01-06 05:29 |
Add a path to fix this. |
(0037467) UbitUmarov (administrator) 2021-01-06 06:48 |
oops.. master fixed, thanks |
![]() |
|||
Date Modified | Username | Field | Change |
2021-01-06 05:28 | Chris Weymann | New Issue | |
2021-01-06 05:28 | Chris Weymann | File Added: 0001-Fix-a-typo-in-AssetServiceConnector-what-makes-troub.patch | |
2021-01-06 05:29 | Chris Weymann | Note Added: 0037466 | |
2021-01-06 05:29 | Chris Weymann | Status | new => patch included |
2021-01-06 06:48 | UbitUmarov | Note Added: 0037467 |
Copyright © 2000 - 2012 MantisBT Group |