"groupname (new group)" stored
Steps to reproduce
- Open any of your contacts
- Click in the Groups Textbox and Type a new Group Name. E.g. "mygroup"
- A suggestion will appear "mygroup (new group)"
- If you just hit Enter - everything is as expected, but if you select the suggestion "mygroup (new group)" is stored.
Expected behaviour
"mygroup" should be saved.
Actual behaviour
"mygroup (new group)" was saved.
Server configuration
PHP version: 7.0.19
Nextcloud version: (see Nextcloud admin page) 12.0.3
Contacts version: (see Nextcloud apps page) 2.0.1
Client configuration
Browser: FF 57.0 Operating system: linux
Same on NC 12.0.4, contacts 2.0.1
FF 52.5 ESR, OpenSuse Leap 42.3
I can confirm the issue.
I can confirm this issue too. But I found a possible workaround: After typing the group-name you can press "TAB" and the group is created without the string " (new group)".
thanks for the cool workaround, fapsi!
This is actually a bug in angular-ui. https://github.com/angular-ui/ui-select/issues/1806
Apparently there is already a fix for this which is awaiting review since 9 months... https://github.com/angular-ui/ui-select/pull/1943
The quick 'n dirty fix would be to add something like .replace(' (new group)', '') in the right place.
It seems there is some effort to change it on the way https://github.com/angular-ui/ui-select/pull/1943
@Benestar .replace(' (new group)', '') might be an option, even though we have to respect translations here.
I doubt ui-select will fix this. It doesn't seem maintained anymore (old AngularJS slowly falling apart :frowning_face: )
@Henni the pr fix in the select repo has been updated all day. Maybe if we cross our fingers! π
I see https://github.com/angular-ui/ui-select/pull/1943 quite active, so there is a hope.
I can confirm that issue on the nextcloud docker image: nextcloud:13.0.0
Upping this to medium and help wanted since it seems to occur quite often. @nextcloud/javascript any ideas how to fix this?
angular-ui/ui-select#1943 has been closed, time to pull it to nextcloud
@gorn pr is still opened?
It is closed, but maybe with a manual hotfix (did not checked). If so, it might be easier to accept the upstream solution.
I donβt see that angular-ui/ui-select#1943 was merged. It seems still open as of today.
My tips (for waiting) : under "Thunderbird", if you have distant address book (CalDav), you can rename the category field manualy.
@Cortek29: Sounded like a wonderful idea, at first, BUT:
Be careful, you in fact can rename entries in the "category" field of Thunderbird's addressbook, but this will create a NEW group!
E.g:
- 15 contacts in "groupA".
- select one of these in TB's addressbook
- rename "category" to "groupA_1"
Result in Nextcloud: 1 contact in "groupA_1", 14 still in "groupA", unchanged.
Maybe, if "renamed" group existed already, reassign to to existing group, haven't tested.
BTW: Afaik we're talking about cardDAV here, not calDAV. But doesn't matter :-)
TB 52.9.1 SOGo Connector 31.0.5 NC 13.0.5 NC Contacts App 2.1.5 all on OpenSuse 15.0
P.S.: I'm still using SOGo connector 31.0.5, although this version has a small but ugly bug, contact deletions from NC are not propagated to TB (https://sogo.nu/bugs/view.php?id=4094). Fixed for 31.0.6, but Inverse changed their FOSS policy, no final packaged addons anymore, only for paying customers. You have to built/compile on your own, and I've been to lazy up to now to dig into why comile failed after downloading. But if later SOGo connector also changed the way how category renamings are handled, from my experiences to what Cortek29 said, this would be another very good reason to overcome my lazyness :-)
@michaelof :+1: Yes, cardDav, sorry :)
I try it successfully on my system. No problems. No duplicate, no new group.
But, the NextCloud is not mine, it's at my office, i don't have version or admin access...
@Cortek29: I've extended my last post during you've added you latest comment, not sure if you'll get a github notification about that. Which version of SOGo Connector are you using?
@Cortek29: P.S.: More ugly on my side: I can switch the group back to the original one, NC is updated at once by SOGo. And, as usual, NC drops "new" group, as not used anymore, in my example. But SOGo conenctor will NOT delete these once used group, TB setting tab for SOGo lists all "categories" used, and offers a "delete" button. But nothing happens when clicked :-( Again: Maybe fixed with 31.0.6 or later.
And we should not get to off-topic for a NC issue, probably, I'll stop now.