Opened 10 years ago
Last modified 6 years ago
#13036 new enhancement
More validation for commands — at Initial Version
| Reported by: | michael2402 | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | gsoc-core command | Cc: | Don-vip, bastiK, stoecker |
Description
Currently, the command class does only few validation of the layer the command works for.
I suggest:
- Enforce that
layermay not be null. Make command construction fail if it is. - Check that all primitives of that command belong to the layer
layer(for add/move/delete/... commands).- if plugins want to change this, we can provide them with the means to extend the commands. They have to take care of the problems that occur then, e.g. handle data integrity.
Note:
See TracTickets
for help on using tickets.


