Web browser: ---
            Bug ID: 59784
           Summary: Flow: display multiple error msg's of errors from the
                    same type
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
    Classification: Unclassified
   Mobile Platform: ---

AbstractBlock->addError() accepts $type, $message and $extra.

Error messages are saved in an array with $type as key. Adding multiple errors
of the same type will cause these errors to overwrite one another. As a result,
only tge last error-of-a-type is displayed.

Implementation idea: we can probably just add an array of errors per type
(instead of only 1 error per type) and have getErrorMessage() concatenate all
messages & have getErrorExtra() combine all extras (perhaps we have to enforce
extra to be an array here)?

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to