Report Panel DynamicLogic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • item
    Active Community Member
    • Mar 2017
    • 1476

    Report Panel DynamicLogic

    Hi Yuri,
    it's not scope but...but just let you know.

    on demo.espocrm.com : No issue

    on my instance + production : when i add dynamicLogic to a reportPanel => save error.

    So i have look :

    line +- 244 : /custom/Espo/Modules/Advanced/Tools/ReportPanel/Service.php. if i add (object) .. no issue.

    original : $clientDefs->dynamicLogic->panels->$name = $item;
    modified : $clientDefs->dynamicLogic->panels->$name = (object) $item;

    AdvancedPack : 3.5.4​
    php version : 8.2.24 and 8.3.x
    os : macos + debian

    Regards
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​
  • yuri
    Member
    • Mar 2014
    • 8453

    #2
    Hi,

    I'll look into. Thanks for reporting.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8453

      #3
      I could not reproduce. Could you share the corresponding error from the log? What exactly dynamic logic you added?
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • item
        Active Community Member
        • Mar 2017
        • 1476

        #4
        Hi Yuri,
        find it :
        in the clientDefs : entity.json :
        i don't know how he come there but "panels": [] .... so i have changed to "panels" = {} and the worked.
        And of course with : $clientDefs->dynamicLogic->panels->$name = (object) $item;
        Ha just info, i have 2 report panel

        PHP Code:
            "dynamicLogic": {
                "panels": []    // Bad [] ?  => {} 
        
        it's certainly my fault.. please delete post if you will and sorry ... because no issue in demo.espocrm.com.

        Thanks.
        Last edited by item; 11-23-2024, 11:31 PM.
        If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

        Comment

        Working...