Can't create new fields in Quote scope

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TitasB
    Member
    • Aug 2017
    • 31

    Can't create new fields in Quote scope


    [2017-08-31 13:59:39] Espo.ERROR: API [POST]:/Admin/fieldManager/:scope, Params:Array ( [scope] => Quote ) , InputData: {"type":"currency","required":false,"dynamicLog icV isible":null,"dynamicLogicRequired":null,"dynamicL ogicReadOnly":null,"name":"myField","label":"myFie ld","tooltipText":"","min":0,"max":null,"audited ": false,"readOnly":false,"tooltip":false} - Error while rebuilding database. See log file for details. [] []

    [2017-08-31 13:59:39] Espo.ERROR: Display Error: Error while rebuilding database. See log file for details., Code: 500 URL: /crm/api/v1/Admin/fieldManager/Quote [] []

    I don't see an "Admin" directory in /crm/api/v1/

    There are probably more than 100 fields in that scope, so this might be causing a problem, is there some kind of limit?
    Last edited by TitasB; 08-31-2017, 03:21 PM.
  • tarasm
    Super Moderator
    • Mar 2014
    • 573

    #2
    No need Admin directory, it uses rewrite rules.
    Please enable debug mode and try again. You can do it in the /data/config.php
    PHP Code:
    'logger' => [      
            'level' => 'DEBUG',        
        ], 
    
    Job Offers and Requests

    Comment

    • TitasB
      Member
      • Aug 2017
      • 31

      #3
      Okay, I enabled debug mode, could you help me out with the debug logs?
      Attached Files

      Comment

      • tarasm
        Super Moderator
        • Mar 2014
        • 573

        #4
        It seems like you have created fields with big data size. More details are https://stackoverflow.com/questions/...used-table-typ. You have to optimize your Quote scope.
        Job Offers and Requests

        Comment

        Working...