Create project: reserved name “admin” shows a misleading error message (all platforms)

未关闭 适合新手
#4,786 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
cpp
领域
mobile

调研方向

从项目创建流程开始:在应用中创建一个名为“admin”的项目,以重现此问题。追踪此保留名称会显示哪条验证错误,并将其与包含无效字符的情况进行比较。当“admin”显示“This project name is not allowed”而不是无效字符提示时,即为完成。

由索引模型根据 Issue 内容生成。

描述

bug ui/ux

Description
When you try to create a project named “admin”, which is a reserved name, the app says the name contains invalid characters. That’s misleading because “admin” has only valid characters. The error should say the name isn’t allowed.

Environment
Staging [x] / Production [x}

Application (+ app version, build, operating system)
Mergin Maps iOS /Android/win — 2026.4.2
iOS: 26.0 - IPhone 15 / Android: 16 - Samsung Galaxy A53 / Windows application

Steps to reproduce

  1. Open the app and sign in.
  2. Go to Projects and tap Create project.
  3. Enter admin as the project name.
  4. Try to create the project.

Actual results
The error message reads: “The project name contains invalid characters”

Expected results
The error message reads: “This project name is not allowed”

Screenshots

image
主要语言
C++
星标
394
派生
91
平均合并
2 天 10 小时
30 天内合并 PR
16

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

MerginMaps/mobile 的其他 Issue

查看 MerginMaps/mobile 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。