Audit log not working for Cases Module

Hi there,

I'm facing a strange issue on our customer's instance. 

The audit log is not working for the Cases module. 

I tried to debug the API, but the code doesn't pass within the function viewChangeLog located in modules/Audit/clients/base/api/AuditApi.php.

This behaviour only happens for the Cases module.

I have also another strange thing that is the cases could not be exported from the List View, I'm getting an error in the developer console "No valid login for the user".

Did you ever face this kind of issue ?

Thanks in advance for your help and feedbacks.

Best regards,

Enes

Parents Reply
  • Hi Harald, Chris,

    I finally find what was wrong ... 

    Some months ago I created an endpoint on the Case module, and the declaration of the api is like that : 

    public function registerApiRest() {
            return array(
                'getCasesByStatus' => array(
                    'reqType' => 'GET',
                    'path' => array('Cases', '?', '?'),
                    'pathVars' => array('', 'queryType', 'customerNumber'),
                    'method' => 'getCasesByField',
                    'shortHelp' => 'Get cases grouped by priority for the customer number in parameter',
                    'longHelp' => '',
                ),
            );
        }

    The API's for Export, Audit Log and drill down report were passing into this api as it had two parameters, that's why I got an empty result each time ... 

    Thanks again for your feedbacks and propositions :-)

    Have a nice day,

    Enes

Children
No Data