PTE0004 raised when publishing on cloud environments without reason
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 50/100
Direzione di ricerca
Start by reproducing the issue in a cloud sandbox with the namespace and using-directive examples from the report, then compare publishing with VSCode or AL-Go, where it does not occur. Done means the same permission set publishes without PTE0004 when the referenced table is resolved through a using directive.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
1. Describe the bug
This bug has been signaled first on Viva Engage.
I am experiencing an issue and was wondering whether other partners have encountered the same behavior.
My observations are as follows:
When deploying a PTE in a BC FR environment (Platform 28.0.52495.0 + Application 28.3.52162.52579), in my case by manually uploading the .app file, the deployment fails with the error below if:
- the permission set is defined inside a namespace, and
- the object referenced in the permission set is resolved through a using directive.
Package validation failed due to the following error(s): (5,13): error PTE0004: Table 80000 '***' is missing a matching permission set. (5,13): error PTE0004: Table 80001 '***' is missing a matching permission set. (7,13): error PTE0004: Table 80003 '***' is missing a matching permission set. - Job Id : e581f2c1-b75d-46da-8dc8-4abbcb2362fb
As soon as I remove the using directives and fully qualify the object names in the permission set, the deployment succeeds.
2. To Reproduce
Steps to reproduce the behavior:
- Create an AL PTE app with one table and one permissionset (with no namespace)
- Publish it to a cloud sandbox
- Add a namespace to the table: MyApp.Tables
- Add a namespace to the permissionset: MyApp.PermissionSet
It seems important that both objects are in different namespaces
- Add the table in the permissionset and do not fully qualify the table: use a using directive instead.
- Publish it to a cloud sandbox... sometimes you will get this error.
namespace MyApp.PermissionSet;
using MyApp.Tables;
permissionset 80000 "MyApp Permissions"
{
Assignable = true;
Caption = 'MyApp Permissions';
Permissions = tabledata "MyApp Table" = RIMD,
table "MyApp Table" = X;
}
namespace MyApp.Tables;
table 80000 "MyApp Table"
{
fields
{
field(1; "PK"; Integer) { }
}
}
3. Expected behavior
PTE0004 should not be raised.
4. Actual behavior
PTE0004 is raised even if the table is part of a permissionset.
5. Versions:
This issue does not occur when compiling on VSCode or with AL-Go. It only occurs when publishing on a cloud environment.
It has been reproduced on the following platform/application versions:
- On July, 17th 2026: Platform 28.0.52495.0 + Application 28.3.52162.52579
- On September, 30th 2026: Platform 28.0.54846.0 + Application 28.5.54151.55108
- Lingua principale
- PowerShell
- Stelle
- 884
- Fork
- 285
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/AL
-
accepted al-tools bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
-
accepted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Tutte le issue di microsoft/AL
Issue simili
-
policy/ docs: NFG acceptance default, send-via isolation and mode binding, filters on send-viaApertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
chore s3
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug] The Aliyun cloud instance catalog silently truncates on a short pageForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
apache/rocketmq-dashboard#6083 ·
I maintainer di solito rispondono entro 6 giorni
-
Bug Report: S3 device signs content-length on bodyless GET/HEAD, breaks R2 reads (403 SignatureDoesNotMatch)Forse già presa @ridhotamma l’ha presa 1 giorno fa. Apertaproduct / self-hosted product / storage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
appwrite/appwrite#14326 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno