Skip to content

Add/edit transaction on mobile ► site doesn't show transaction until re-saved with desktop program #2

@benspaul

Description

@benspaul

Summary: When you add or edit a transaction on a mobile device, you will not see that transaction on YNAB until you open a desktop YNAB and Save there.

Steps to reproduce:

  1. In the YNAB mobile app (tested on iOS 7) create a transaction.

  2. On YNAB web (i.e., this repo), log in and find that transaction

Expected: I see that transaction listed (as occurs in YNAB for desktop)

Actual: I don't see that transaction listed

Note:

  • This problem also occurs if you try to edit an existing transaction from a mobile device (tested on iOS 7)
  • If you open YNAB desktop, you will see the transaction there. If you hit Save from the desktop program, then YNAB web (i.e., this repo) will show the transaction.
  • I think this is caused from two issues:

(1) The program relies on "hasFullKnowledge" to determine which device is most up to date, but that field is not set for mobile devices (https://github.com/elaske/pynab/wiki/1.1.-Device-Files#hasfullknowledge). One can work around this by inspecting version numbers given in the "knowledge" property and finding the device with the highest version numbers.

(2) Even if the code figures out that my iPhone has the most updated information, unfortunately you can't just go to the iPhone's folder and read its budget file. There is no Budget.yfull saved within my iPhone's device directory on Dropbox. Instead, there are only ydiff files. I'm not sure if you would have to merge the new changes from ydiff files into the old Budget.yfull file, or if there is some way around this. This is tricky.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions