crs-al-language-extension icon indicating copy to clipboard operation
crs-al-language-extension copied to clipboard

Rename/Reorganize Issue with permission sets

Open ChrisBlankDe opened this issue 3 years ago • 0 comments

Renameing and reorganizing Permission Sets does not work well. I have an app with just one permission set:

Object:

permissionset 50100 "abc"
{
    Assignable = true;
    Permissions = TableData "AAD Application" = RIMD; //just an example
}

Settings:

{ //workspace
    "CRS.AlSubFolderName": "src",
    "CRS.ObjectNamePrefix": "PTE",
    "CRS.RemovePrefixFromFilename": true,
    "CRS.FileNamePattern": "<ObjectNameShort>.<ObjectTypeShortPascalCase>.al",
    "CRS.FileNamePatternExtensions": "<ObjectNameShort>.<ObjectTypeShortPascalCase>.al",
}
{ //global
    "CRS.DisableCRSSnippets": false,
    "CRS.DisableDefaultAlSnippets": true,
    "al.enableCodeActions": true,
    "CRS.DependencyGraph.ExcludePublishers": []
}

wenn running reorganize file will not be renamed, prefix will not be added to object name and the file will not be moved to the right folder(just src not src/permissionset).

My Demo Project: crsbug01.zip Tested with:

  • waldo's CRS AL Language Extension v1.4.9
  • AL Language v7.3.486497
  • any other extension was disabled for testing
  • vscode v1.58.1

Rename and reorganize works fine with other objecttypes.

ChrisBlankDe avatar Jul 15 '21 13:07 ChrisBlankDe