Open Closed

Update to 5.1.2 / new 5.0.0 project #2491


User avatar
0
brike.kuo@authme.com created
  • ABP Framework version: v5.1.2
  • 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. use Volo.FileManagement
  2. build on linux system

Volo.Filemanagement can't build on linux system, because the path is badly formed


  • 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 this problem fixed on 5.1.2, but because the Volo.FileManagement problem so I can't update my project to 5.1.2, and even I keep my project on 5.0.0 it will have problem because it get 5.0.2 dependency


1 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Volo.Filemanagement can't build on linux system, because the path is badly formed

    Hi @brike.kuo@authme.com, this was a well-known problem and we've fixed it in the v5.1.3. So, please update your CLI version to v5.1.3 it will fix your problem.

    dotnet tool update -g Volo.Abp.Cli
    

    Can you open a new question for your second issue? Because it's hard to keep track of more than one issue in a question. Also in a separate question, your problem can be solved more quickly.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38