[Bug]: Unattended Guest OS Installation Domain Name Entry results in error while completing field value

未关闭
#994 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 6 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
c, cpp
领域
desktop

调研方向

The behaviour lives in the Qt GUI's unattended-install wizard, not in the VM backend: find the handler that validates the guest hostname/domain name and emits the "trailing dot not permitted" message, then see what triggers it on each keystroke of the Domain Name field. Change it to validate on commit (focus loss or Next) rather than on text change, and confirm the error no longer appears while typing myhome.local but still fires for a genuinely invalid value. The issue names no file, so expect to search the GUI unattended-install sources for the message text first.

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

描述

bug
Version

7.2.22

Host OS Type

Windows

Host OS name + version

Windows 11 Build 26300

Host Architecture

x86

Guest OS Type

Windows

Guest Architecture

x86

Guest OS name + version

N/A

Component

Other

What happened?

When creating a new VM, I am getting a "Can't run guest install..." error that says "Failed to run unattended guest installation. ... Invalid hostname ..... - trailing dot not permitted." with some error codes. This occurs while typing the "Domain Name" in the unattended config. I expect it to wait for me to finish typing before evaluating whether it will work. I'm not sure how it determines that it failed to run the installation when the Guest VM hasn't been created yet.

How can we reproduce this?

Begin creating a new VM. Go to Set up unattended guest OS installation, and type "myhome.local". You'll see the error appear on the right panel as soon as "myhome." has been typed, before finishing the rest of the domain.

Did you upload all of your necessary log files, screenshots, etc.?
  • Yes, I've uploaded all pertinent files to this issue.
主要语言
C
星标
1.4k
派生
219
PR 合并指标
30 天内没有已合并 PR

环境准备

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

从这里开始

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

VirtualBox/virtualbox 的其他 Issue

查看 VirtualBox/virtualbox 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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