| Numéro d’ID de bogue |
BUG-000100617 |
| Envoi | November 4, 2016 |
| Dernière modification | June 5, 2024 |
| S’applique à | Portal for ArcGIS |
| Version trouvée | 10.4.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 2012 R2 |
| Version de correction | 10.5 |
| Statut | Fixed
Le bogue a été corrigé. Pour plus d’informations, reportez-vous aux sections Version de correction et Informations supplémentaires, le cas échéant.
|
Solution de contournement
1. When the map service is added as a map image layer in Portal for ArcGIS, click the Edit button.2. Click the option to change the thumbnail image to allow an image to be uploaded. (The recommended resolution for uploaded images is 200 x 133 pixels in PNG, GIF, and JPEG formats.)The actual PNG that fails to get sent to Portal for ArcGIS can be downloaded manually with the process below:1. Capture the web traffic with Fiddler, and look for a URl with the following format when adding the map service to the portal's My Content:<a href="http://supt003949.esri.com/server/rest/services/SampleWorldCities/MapServer/export?size=200,133&bbox=-180,-90,180,90&bboxSR=4326&format=png24&f=json&callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback" target="_blank">http://supt003949.esri.com/server/rest/services/SampleWorldCities/MapServer/export?size=200,133&bbox=-180,-90,180,90&bboxSR=4326&format=png24&f=json&callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback</a>2. Copy and paste the URl in a new tab, and the following is seen:<a href="http://dojo.io" target="_blank">dojo.io</a>.script.jsonp_dojoIoScript1._jsonpCallback({"href":"<a href="http://supt003949.esri.com/server/rest/directories/arcgisoutput/SampleWorldCities_MapServer/_ags_mapa018779aeae5456790bdc876c6bb379e.png" target="_blank">http://supt003949.esri.com/server/rest/directories/arcgisoutput/SampleWorldCities_MapServer/_ags_mapa018779aeae5456790bdc876c6bb379e.png</a>","width":200,"height":133,"extent":{"xmin":-180,"ymin":-119.70000000000005,"xmax":180,"ymax":119.69999999999996,"spatialReference":{"wkid":4326,"latestWkid":4326}},"scale":756473838.23039985});3. From the URl contained in the response above, copy it to the PNG extension, and open it in a new browser:<a href="http://supt003949.esri.com/server/rest/directories/arcgisoutput/SampleWorldCities_MapServer/_ags_mapa018779aeae5456790bdc876c6bb379e.png" target="_blank">http://supt003949.esri.com/server/rest/directories/arcgisoutput/SampleWorldCities_MapServer/_ags_mapa018779aeae5456790bdc876c6bb379e.png</a>4. Right-click on the image, and select 'Save As' to save the image locally, and upload the image from the setting mentioned above.
Étapes pour reproduire
ID de bogue: BUG-000100617
Logiciel: