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

Bug #890128 reported by Olivier Maury
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Datum
Won't Fix
Medium
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)
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.