Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Cloning item is not assigning the correct owner

オープン
#2,500 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@nparavicini7 がすでに取り組んでいます。

2026年5月18日 から。

評価

この issue はまだ評価されていません。

説明

bug

Describe the bug
When cloning an item and setting a new owner, the owner will not be respected if that item does not have a folder.

To Reproduce
Clone an item without a folder and setting an owner

Platform (please complete the following information):

  • OS: Windows
  • Python API Version: 2.4.3

Additional context
The bug appears because when there is no folder the given owner is not respected.

if self.folder:
    folder = self.target.content.folders.get(
        folder=self.folder, owner=self.owner
    )
else:
    folder = self.target.content.folders.get()

The fix
folder = self.target.content.folders.get(owner=self.owner)

主要言語
Python
スター
2.2k
フォーク
1.2k
平均マージ
22時間 20分
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Esri/arcgis-python-api のほかの issue

Esri/arcgis-python-api の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。