Error: report with multiple tabs (where users don't have rights on all the tabs)

(3 posts) (2 voices)


No tags yet.

  1. dlowie, Member

    We have used MyDBR for the past 4 years. I use reports with tabs where not all user groups have access to the tabs. For example: the head of a department has access to more tabs than anybody else. The other users can't even see the tabs they don't have access to.
    This has always worked. But now, since we went to version myDBR 5.7.5 (build 4056), users who do not have access to all the tabs, get error codes above the screen and see the tabs they normally don't have access to (when they click on it, they don't see the content).

    The error that appears:

    Warning: Attempt to modify property 'tabs' of non-object in /mnt/efs/wwwdossier/pzduffel/apps/showReport.php on line 3311

    Warning: array_pop() expects parameter 1 to be array, null given in /mnt/efs/wwwdossier/pzduffel/apps/showReport.php on line 3311

    Warning: Attempt to modify property 'tabs' of non-object in /mnt/efs/wwwdossier/pzduffel/apps/showReport.php on line 3311

    If a user doesn't have access to 3 tabs, the above error messages appear 3 times.

    Example of the code we use:

    select '', 'Voortrajecten', 'p3p_Opname2Voortraject', '36272';
    select '', 'Wie schrijft?', 'p3p_ObservatiesDeFase1';
    select '', 'Ontslagen pat. (30 dagen)', 'p3p_Ontslag3PZ';
    select '', 'Aanmeldingen opnamestaf', 'p3p_WachtlijstVoortraject', 'Atlas 1';
    select '', 'Wet.Onderzoek', 'p3p_WetenschappelijkeOnderzoeken', '36272';
    select '', 'Incidenten', 'p3p_IncidentenPerAfdeling', '40864';

    Is there anything we can do to stop these error messages?

  2. myDBR Team, Key Master

    The issue is now fixed and you can run the automatic updater.

    Thank you for reporting the issue.
    myDBR Team

  3. dlowie, Member

    Thanks! The issue is indeed fixed, thanks for the quick & swift respone & action!


You must log in to post.