Serialized xml is nested too deeply - TestToolkit
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- powershell
- Área
- tooling
Línea de trabajo
Start by reproducing the reported error with the supplied PowerShell script and -includeTestToolkit, then compare it with the Import-TestToolkitToBcContainer command mentioned in the report. The issue does not identify repository files or tests, so locate the relevant TestToolkit import/container entry points before tracing the XML serialization failure. Done means the container can be created with the Test Toolkit without the nested-XML error.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
1. Describe the bug
I am getting the "Serialized xml is nested too deeply" error message when I create a docker container using a PowerShell script. The script includes the -includeTestToolkit flag.
2. To Reproduce
Steps to reproduce the behavior:
- Execute the following script
/*********************** Script begins ************************/
install-module BcContainerHelper -force
$accept_eula = $true
$containername = 'bc29'
$licenseFile = ''
$auth = 'Windows'
$usessl = $false
$updateHosts = $true
$assignPremiumPlan = $true
$shortcuts = 'Desktop'
$bcVersion = '29.0.0.0'
$artifactUrl = Get-BcArtifactUrl -type 'Sandbox' -country 'CA' -version $bcVersion -select 'Closest' -accept_insiderEula -storageAccount bcinsider
if ($auth -eq 'Windows') {
$credential = get-credential -UserName $env:USERNAME -Message 'Using Windows Authentication. Please enter your Windows credentials.'
}
elseif ($auth -eq 'UserPassword') {
$credential = get-credential -Message 'Using Username/Password Authentication. Please enter credentials.'
}
else {
throw '$auth needs to be either Windows or UserPassword'
}
if (!$accept_eula) {
throw 'You have to accept the eula in order to create a Container.'
}
if (!($containername)) {
throw 'You have to specify a container name in order to create a container.'
}
if (!($artifactUrl)) {
throw 'No matching build was found for your version of Business Central'
}
New-BcContainer -accept_eula:$accept_eula -accept_insiderEula
-containername $containername -artifactUrl $artifactUrl
-auth $auth -Credential $credential
-usessl:$usessl -updateHosts:$updateHosts
-licenseFile $licenseFile -assignPremiumPlan:$assignPremiumPlan
-shortcuts $shortcuts `
-includeTestToolkit
if ($licenseFile) {
Setup-BcContainerTestUsers -containerName $containername -password $credential.Password
}
/*********************** Script ends ************************/
3. Expected behavior
The docker container should be created without any errors and include all the Tests extensions.
4. Actual behavior
Le XML sérialisé est imbriqué trop profondément. Line 1, position 3605. (Serialized xml is nested too deeply. Line 1, position 3605.)
NOTE: I also tried to the following command:
Import-TestToolkitToBcContainer -containerName bc29 -includeTestRunnerOnly and got the following result:
5. Versions:
- AL Language: 18
- Visual Studio Code: N/A
- Business Central: 29.0.52454.0
- List of Visual Studio Code extensions that you have installed: None
- Operating System:
- Windows
- Linux
- MacOS
- Lenguaje dominante
- PowerShell
- Estrellas
- 889
- Forks
- 285
- Merge medio
- 4 h 7 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/AL
-
accepted al-tools bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
MCP Servers cannot start altoolAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 40/100
-
Extension causes high cpu loadAbiertoinput-needed
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
Todos los issues de microsoft/AL
Issues similares
-
triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
fullsend-ai/agents#1786 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
plugin install: the confirmation hint names 'agmsg' even for an install with another --cmd nameAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Quick Open: restore dependency-directory exclusions in filesystem fallbackPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
eugenioenko/ttt#1206 ·
Los mantenedores suelen responder en 1 día
-
Remove the Ralph loopAbiertoagent-ex high-priority tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
DigiBanks99/menlo#483 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día