Commit 66ada4c
committed
Persist rediscovered xmlRpcUrl via a targeted write
attemptXmlRpcRediscovery dispatched newUpdateSiteAction to change one
field, which (with XMLRPC_URL excluded from the full-row mapper) dropped
the value and rewrote ~80 unchanged columns. Add SiteStore.persistXmlRpcUrl
and route rediscovery through it — one targeted write, mirroring the
wpApiRestUrl heal. Drops the now-unused dispatcher from the slice.1 parent 13fc334 commit 66ada4c
4 files changed
Lines changed: 29 additions & 17 deletions
File tree
- WordPress/src
- main/java/org/wordpress/android/ui/mysite/cards/applicationpassword
- test/java/org/wordpress/android/ui/mysite/cards/applicationpassword
- libs/fluxc/src
- main/java/org/wordpress/android/fluxc/store
- test/java/org/wordpress/android/fluxc/store
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| |||
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
44 | | - | |
45 | 42 | | |
46 | 43 | | |
47 | 44 | | |
| |||
257 | 254 | | |
258 | 255 | | |
259 | 256 | | |
260 | | - | |
261 | | - | |
262 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
263 | 261 | | |
264 | 262 | | |
265 | 263 | | |
| |||
Lines changed: 7 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 73 | | |
78 | 74 | | |
79 | 75 | | |
| |||
96 | 92 | | |
97 | 93 | | |
98 | 94 | | |
99 | | - | |
100 | 95 | | |
101 | 96 | | |
102 | 97 | | |
| |||
380 | 375 | | |
381 | 376 | | |
382 | 377 | | |
383 | | - | |
| 378 | + | |
384 | 379 | | |
385 | 380 | | |
386 | 381 | | |
| |||
392 | 387 | | |
393 | 388 | | |
394 | 389 | | |
| 390 | + | |
395 | 391 | | |
396 | 392 | | |
397 | 393 | | |
398 | 394 | | |
399 | | - | |
| 395 | + | |
400 | 396 | | |
401 | 397 | | |
402 | 398 | | |
403 | 399 | | |
404 | | - | |
| 400 | + | |
405 | 401 | | |
406 | 402 | | |
407 | 403 | | |
| |||
421 | 417 | | |
422 | 418 | | |
423 | 419 | | |
424 | | - | |
| 420 | + | |
425 | 421 | | |
426 | 422 | | |
427 | 423 | | |
428 | 424 | | |
429 | | - | |
| 425 | + | |
430 | 426 | | |
431 | 427 | | |
432 | 428 | | |
| |||
441 | 437 | | |
442 | 438 | | |
443 | 439 | | |
444 | | - | |
| 440 | + | |
445 | 441 | | |
446 | 442 | | |
447 | 443 | | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1691 | 1691 | | |
1692 | 1692 | | |
1693 | 1693 | | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
1694 | 1705 | | |
1695 | 1706 | | |
1696 | 1707 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
650 | 657 | | |
651 | 658 | | |
652 | 659 | | |
| |||
0 commit comments