Commit 9507679
committed
The patch to implement:
Validate properties specified for sorting and grouping in index
views. Original patch from martin.v.loewis via:
https://hg.python.org/tracker/roundup/rev/439bd3060df2
Applied by John Rouillard with some modification to properly
identify if the bad property is a sort or grouping property. Tests
added.
has an issue with the current code base. Apparently sometime it can be
entered without self.classname being defined. As a result the property
lookup fails. So guard it by checking for self.classname in a couple
of spots and if self.classname is not set just append the property
and let the target action sort it out.1 parent 711fa23 commit 9507679
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2517 | 2517 | | |
2518 | 2518 | | |
2519 | 2519 | | |
2520 | | - | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
2521 | 2526 | | |
2522 | 2527 | | |
2523 | 2528 | | |
2524 | 2529 | | |
2525 | 2530 | | |
2526 | 2531 | | |
2527 | 2532 | | |
2528 | | - | |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
2529 | 2536 | | |
2530 | 2537 | | |
2531 | 2538 | | |
| |||
0 commit comments