Starts in:
2 DAYS
2 HRS
56 MIN
5 SEC
Starts in:
2 D
2 H
56 M
5 S
Open Closed

5.0.0 angular dependency #2505


User avatar
0
brike.kuo@authme.com created
  • ABP Framework version: v5.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  1. yarn install angular project withour existed yarn.lock (in docker image build)
  2. and then it will get 5.0.2 dependency but not 5.0.0 abp version on my package.json is 5.0.0↓

but there are same bug on 5.1.1 and 5.0.2 that is string-utils.ts

export function escapeHtmlChars(value: string) {
  return (
    value &&
    value.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;')
  );
}

audit log list has "execution duration" column, and that is number not string, so it will throw exception on value.replace

it's fixed on 5.1.2.


1 Answer(s)
  • User Avatar
    0
    muhammedaltug created

    Hello,

    Thanks for reporting the issue. I will notify you when the fix is available in the 5.0.x version

    If you want to install 5.0.0 packages you can add abp packages in the resolutions section in the package.json

    // package.json
    {
        "resolutions": {
            "@abp/ng.account": "5.0.0",
            "@abp/ng.account.core": "5.0.0",
            "@abp/ng.core": "5.0.0",
            "@abp/ng.feature-management": "5.0.0",
            "@abp/ng.identity": "5.0.0",
            "@abp/ng.permission-management": "5.0.0",
            "@abp/ng.schematics": "5.0.0",
            "@abp/ng.setting-management": "5.0.0",
            "@abp/ng.tenant-management": "5.0.0",
            "@abp/ng.theme.basic": "5.0.0",
            "@abp/ng.theme.shared": "5.0.0",
        }
    }
    
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06