Ticket #158 (closed enhancement: fixed)
Better error when phase contains non-plugin declarations
| Reported by: | scorfield | Owned by: | scorfield |
|---|---|---|---|
| Type: | enhancement | Priority: | normal |
| Milestone: | Fusebox 5.1 | Component: | Miscellaneous |
| Version: | 5.0 | Severity: | normal |
| Keywords: | Cc: |
Description
A user did this by accident:
<phase name="postProcess">
<do action="layouts.buildPage"/>
</phase>
The error was:
Required attribute is missing
The attribute 'name' is required, for a 'postProcess' plugin declaration in fusebox.xml.
It would be more helpful to complain that 'do' is not valid inside a 'phase' declaration.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
