-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename account with jtx collection: IllegalArgumentException #1185
Comments
I think the problem is that We should probably call something like |
Yup, reproduced correctly as stated: Logs
|
Okay, so after tumbling around for quite longer than I expected, I guess that the problem is that OpenTasks-compatible apps use the content provider as which is what holds the account: Then the thing would be to check whether the provider is jtx board, and use I've tried doing this, and it's still failing with "Currently only Syncadapters are supported". My question is also whether this is a problem of our own, or it's caused by Android, and we are simply trying to do something that is not supported. |
Yes, during rename, we want to change the account.
So if we want to update the account name in jtx Board, we have to update the Collections using the correct It's however possible that jtx Board refuses to change the account when we request it. In this case, we would have to open a feature request for jtx Board. But even then it shouldn't try the wrong (OpenTasks) URI for jtx Board.
Yes, but I think the check shouldn't be in |
During rename:
Steps to reproduce:
Possible reason: rename accounts always expects an OpenTasks task app (and not jtx Board).
Further info: Also
LocalTaskList.onRenameAccount
should be moved toLocalTaskListStore.updateAccount
.The text was updated successfully, but these errors were encountered: