Commit a42848a
authored
Fix applyfield when applied to non-existent fields (#63)
* Fix applyfield when applied to non-existent fields
`applyfield` was inconsistent with `applyfield!` in that it threw an
error on non-existent fields rather than return `false`, which the
docuementation _said_ it did. This fixes `applyfield` to ignore
non-existent fieldnames and return `false`. Alternative fix to adding
teh `ignoreextras` function proposed in #52.
* fix test1 parent dc3f601 commit a42848a
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
830 | | - | |
| 830 | + | |
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
| |||
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
842 | | - | |
| 842 | + | |
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
| 441 | + | |
| 442 | + | |
441 | 443 | | |
442 | 444 | | |
443 | 445 | | |
| |||
0 commit comments