Open Closed

Can't save in db decimal field with (create entity) abp suite #1143


User avatar
0
serdar.genc@talentra.net created

I created one entity with abp suite. One field decimal. but does not save DB correctly. Saving like int.

  • ABP Framework version: v4.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

10 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    • Exception message and stack trace:
    • Steps to reproduce the issue:
  • User Avatar
    0
    serdar.genc@talentra.net created

    Step1: i created 'Bank' entity with abp suite. 'Balance' field is decimal. Step2: Run the app. Click the Banks from menu. Click the 'New Bank'. Step3 : Enter the Balance = 14.45 and Click the save button. Step4: Redirect index page. This record show: 1445.... not 14.45 PS. 1445,00 show in the DB tables.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    I will check it. thanks.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    It work for me. I am using the 4.2 version of the suite

  • User Avatar
    0
    serdar.genc@talentra.net created

    It work for me. I am using the 4.2 version of the suite

    can you connect remote ?

  • User Avatar
    0
    serdar.genc@talentra.net created

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    HI,

    Ok, please email me. shiwei.liang@volosoft.com

  • User Avatar
    0
    serdar.genc@talentra.net created

    Hi liangshiwei,

    problem is language. app correctly in english. but dosen't work 'Turkish'.

    Why doesn't it work for Turkish?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Tr uses comma ,

    You should enter 14,45.

    See https://github.com/abpframework/abp/issues/8050

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11