Teifun2 / nextcloud-cookbook-flutter

Flutter Project for the nextcloud plugin "cookbook"
Creative Commons Zero v1.0 Universal
103 stars 25 forks source link

Unsupported operation: Cannot modify unmodifiable map #186

Open skyrid3r698 opened 1 year ago

skyrid3r698 commented 1 year ago

Recently, I cannot create new recipes with your mobile app on my Android Phones. I always get this error Screenshot_20230403_192806

The Webapp still works perfectly fine. Android App Version: 0.7.9 Webapp Version: 0.10.2 Nextcloud Version: 25.0.5

Leptopoda commented 1 year ago

Can you please add information on what you where trying to do when the error poped up? Was it just hitting the submit button or when you tried adding ingredients?

I have an idea where this comes from but that information would make it easier finding.

Leptopoda commented 1 year ago

Ok I found the issue. #171 is not affected by this

skyrid3r698 commented 1 year ago

Yes, as soon as I click "Create" this error pops up. #171 looks like a big leap and looks like it is about to be merged?

Leptopoda commented 1 year ago

Yep i'ts already merged and all api endpoints and data structure classes are now covered in unit tests. The bug actually was when constructing a Recipe class.

Sadly it will still takes a few weeks for a new release as some behavior has to be re implemented.

nicofrand commented 1 year ago

Hi,

Did anyone find a workaround (until the new great release is out)? Would downgrading the version help (I could not via F-Droid though)?

Creat commented 11 months ago

Just to add my "+1" to this. I have freshly installed the cookbook on my nextcloud instance and this app on my phone. I can't create recipies at all on android.

What I did: Click the "+" on the main screen. Then just entering a recipe name (no other information) and clicking the Create button at the bottom throws the exception as OP has shown in his screenshot.

I am able to modify an existing recipe though.

SK-Crow commented 9 months ago

I am also having the same problem on the latest version.

asandikci commented 9 months ago

I have same problem too

FritzThird commented 9 months ago

I'm having the same problem. I'm using NextCloud Cookbook version 1.1 for iOS.

image

nicofrand commented 8 months ago

Yep i'ts already merged and all api endpoints and data structure classes are now covered in unit tests. The bug actually was when constructing a Recipe class.

Sadly it will still takes a few weeks for a new release as some behavior has to be re implemented.

Hi! Is there a ticket or roadmap for the things that are still missing before being able to release a new version? If possible I'd like to help.

tinidisco2 commented 8 months ago

Hello, I have same problem too. I really like this cookbook app and it would be great if I could also create new recipes with my android phone. The temporary solution is to create a new recipe in the Nook app and just enter its name. It can then be edited in this application as well.

Qfrijters commented 4 months ago

just to bump it back up. I have this issue as well.

suka97 commented 2 months ago

Same here, freshly installed both app and server

gsalvatella commented 3 weeks ago

Same problem here. This is definitely a showstopper. What needs to be addressed to fix it?