Bug
Bug ID Number | BUG-000161855 |
---|---|
Submitted | October 4, 2023 |
Last Modified | June 5, 2024 |
Applies to | ArcGIS API for Python |
Version found | N/A |
Operating System | Windows Server |
Operating System Version | N/A |
Status | Non-Reproducible |
Currently, the fileName is resolved as follows in src/arcgis/gis/__init__.py:14909
if data is not None and isinstance(data, (io.StringIO, io.BytesIO)):
if item_properties is None:
item_properties =
if not "type" in item_properties:
item_properties["type"] = self.type
if not "fileName" in item_properties:
fileName = self.name
item_properties["fileName"] = fileName
Consider using a random filename, or appending a timestamp to the end of the itemId as a filename.
if data is not None and isinstance(data, (io.StringIO, io.BytesIO)):
if item_properties is None:
item_properties =
if not "type" in item_properties:
item_properties["type"] = self.type
if not "fileName" in item_properties:
fileName = f"self.name_str(round((datetime.now()).timestamp()))"
item_properties["fileName"] = fileName
Bug ID: BUG-000161855
Software:
Get help from ArcGIS experts
Download the Esri Support App