Sync starts despite invalid filename warning; ends with “Unsupported file detected” and changes not synchronized

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

issue では、ソースファイル、テスト、エントリーポイントのいずれも指定されていません。Project status dialog の同期開始パスと既存のサポートされていないファイルの警告をたどり、その後、ネットワーク操作の前にブロックすることと、問題のあるすべてのファイルを一覧表示することをカバーするテストを追加します。無効な名前が残っている間、妥当な変更で同期が開始されなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement ui/ux

Description
When a project contains a file whose name includes invalid/unsupported characters, the Project status dialog shows a warning, but the user is still allowed to start synchronization. The sync runs and finishes with an error “Unsupported file detected.” The changes (including valid ones) are not synchronized. This leads to wasted time and unclear messaging (two different phases: warning then late failure).

Steps to reproduce

  1. Open a Mergin Maps project locally in QGIS.
  2. Place or create a file in the project directory whose name contains characters invalid or unsupported by the plugin/server sync (example: survey:raw?.gpkg or includes characters like :*?<>| on Windows).
  3. Open the Mergin Maps Project status dialog.
  4. Observe a warning about the problematic/unsupported file (naming or unsupported type).
  5. Start sync anyway.
  6. Wait for the sync process to complete.

Actual results

  • Sync is allowed to start despite the warning.
  • Process finishes with an error: “Unsupported file detected.”
  • Project changes are not synchronized (including otherwise valid modifications).
  • User receives late failure instead of an early block; error message does not explicitly list the offending file(s).

Expected results
Sync cannot start while invalid/unsupported filenames are present. A clear, early blocking error lists all offending files and instructs the user to rename/remove them. No network operations are started.

Screenshots or logs

Conclusion
Created by GitHub Copilot and supervised by a human test analyst.

主要言語
Python
スター
45
フォーク
21
平均マージ
3日 13時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

MerginMaps/qgis-plugin のほかの issue

MerginMaps/qgis-plugin の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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