Save the AuctionEntry when importing from XML before trying to set up the events object, since it requires an entry_id.
| 590 | 603 | |
|---|---|---|
| 905 | 905 | switch(tagId) { |
| 906 | 906 | case 0: // Get the general auction information |
| 907 | 907 | mAuction.fromXML(curElement); |
| 908 | mAuction.saveDB(); | |
| 908 | 909 | break; |
| 909 | 910 | case 1: // Get bid info |
| 910 | 911 | Currency bidAmount = Currency.getCurrency(curElement.getProperty("CURRENCY"), |
| --- | --- | |
| 1060 | 1061 | |
| 1061 | 1062 | if(!isComplete()) setNeedsUpdate(); |
| 1062 | 1063 | |
| 1064 | saveDB(); | |
| 1063 | 1065 | if(mEntryEvents == null) { |
| 1064 | 1066 | getEvents(); |
| 1065 | 1067 | } |
