File tree Expand file tree Collapse file tree
java/org/gnucash/android/export/xml Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -481,6 +481,9 @@ private void exportScheduledTransactions(XmlSerializer xmlSerializer) throws IOE
481481 String actionUID = cursor .getString (cursor .getColumnIndexOrThrow (ScheduledActionEntry .COLUMN_ACTION_UID ));
482482 Account accountUID = mTransactionToTemplateAccountMap .get (actionUID );
483483
484+ if (accountUID == null ) //if the action UID does not belong to a transaction we've seen before, skip it
485+ continue ;
486+
484487 xmlSerializer .startTag (null , GncXmlHelper .TAG_SCHEDULED_ACTION );
485488 xmlSerializer .attribute (null , GncXmlHelper .ATTR_KEY_VERSION , GncXmlHelper .BOOK_VERSION );
486489 xmlSerializer .startTag (null , GncXmlHelper .TAG_SX_ID );
Original file line number Diff line number Diff line change 8888 android : layout_marginLeft =" 10dp"
8989 android : textAppearance =" ?android:attr/textAppearanceMedium"
9090 android : text =" @string/option_export_all_transactions"
91- android : visibility =" gone"
9291 />
9392 <TextView android : layout_marginLeft =" @dimen/dialog_padding"
9493 android : text =" @string/hint_export_choice"
95- android : visibility =" gone"
9694 style =" @style/TextAppearance.Hint" />
9795
9896 <CheckBox android : id =" @+id/checkbox_post_export_delete"
You can’t perform that action at this time.
0 commit comments