Commit f80482b
committed
[FIX] records: skip inactive, invalid views in adapt_domains()
Do not fail when the XML parser fails to parse an inactive view. Inactive views
are probably abandoned and do not cause immediate errors in the upgraded db, so
just skip them when they are invalid.
Also, log the view_id before (re)raising a parser exception. This should save
some time when manual fixing of invalid (active) views is needed.
upg-1171125
closes #13
Signed-off-by: Alvaro Fuentes Suarez (afu) <[email protected]>1 parent 48bb075 commit f80482b
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
| 312 | + | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
356 | 361 | | |
| 362 | + | |
357 | 363 | | |
358 | 364 | | |
359 | 365 | | |
| |||
0 commit comments