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

Offen
#994 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 6 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
c, cpp
Bereich
desktop

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
C
Sterne
1.4k
Forks
219
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus VirtualBox/virtualbox

Alle Issues in VirtualBox/virtualbox

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.