soeretypo: show error message when no permission on "mode" is set

Bug #890128 reported by Olivier Maury on 2011-11-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nautile bleu

Bug Description

Testing extraction/metadata_mineralization_kinetics_dist, after submitting the form,
the page shows a PHP error with "Undefined index: modes".
Debug mode precises at protected/modules/soeretypo/models/Mode.php(83) due to lack of $permissions['modes'].

This means that the permissions are not set on "mode".
The page should not fail with an PHP error but show a warning to the user.

Changed in datum:
milestone: none → soeretypo
importance: Undecided → Medium
assignee: nobody → Nautile bleu (nautilebleu)
Nautile bleu (nautilebleu) wrote :

I can't reproduce the bug, except by removing the code that sets the permissions.

Changed in datum:
status: New → In Progress
Changed in datum:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers