nextcloud-cookbook-flutter icon indicating copy to clipboard operation
nextcloud-cookbook-flutter copied to clipboard

Unsupported operation: Cannot modify unmodifiable map

Open skyrid3r698 opened this issue 1 year ago • 14 comments

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

skyrid3r698 avatar Apr 03 '23 17:04 skyrid3r698

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 avatar Apr 03 '23 20:04 Leptopoda

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

Leptopoda avatar Apr 04 '23 07:04 Leptopoda

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?

skyrid3r698 avatar Apr 04 '23 08:04 skyrid3r698

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.

Leptopoda avatar Apr 06 '23 09:04 Leptopoda

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)?

nicofrand avatar Aug 15 '23 21:08 nicofrand

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.

Creat avatar Sep 16 '23 14:09 Creat

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

SK-Crow avatar Nov 16 '23 23:11 SK-Crow

I have same problem too

asandikci avatar Nov 18 '23 16:11 asandikci

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

image

FritzThird avatar Nov 29 '23 18:11 FritzThird

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.

nicofrand avatar Dec 29 '23 08:12 nicofrand

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.

tinidisco2 avatar Jan 11 '24 10:01 tinidisco2

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

Qfrijters avatar May 04 '24 17:05 Qfrijters

Same here, freshly installed both app and server

suka97 avatar Jun 25 '24 00:06 suka97

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

gsalvatella avatar Aug 17 '24 18:08 gsalvatella