Contacts: Location field tells me to enter an URL.

Created on 1 Nov 2019  路  4Comments  路  Source: nextcloud/contacts

The new Location field is marked red and tells me to enter an URL, even when it is pre-filled with coordinates.

  1. Open a contact.
  2. Add the Location field.
  3. It's red already, even though it was just pre-filled with the default.

Additionally, the default value uses a semicolon ; to separate the coordinates, but after saving and loading it has changed to a comma ,.

Server configuration

Operating system: CentOS 7

Web server: lighttpd

Database: SQLite

PHP version: 7.2

Nextcloud version: 16.0.4

Contacts version: 3.1.6

1. to develop bug

Most helpful comment

@jancborchardt the dav library understand location as an url, and this is forwarded to the html with an input[type=url].
We need this as a text, but weshould also add a plugin where you can autocomplete locations/pick on map

All 4 comments

@RobertZenz can you describe exactly what would be expected? Then this would be a good first issue. :)

@jancborchardt the dav library understand location as an url, and this is forwarded to the html with an input[type=url].
We need this as a text, but weshould also add a plugin where you can autocomplete locations/pick on map

Note, a similar scenario occurs with RELATED field (bug 1395) where the RFC requires either a URL or a declared text, but Nextcloud only likes a URL, with no picker.

To be clear: the RFC actually requires some kind of URI scheme here, see section 6.5.2. So this requirement is not actually wrong.

But I agree that there should be a more helpful and user-friendly widget for editing this property. Does anyone know how this property is actually being used in other clients?

Was this page helpful?
0 / 5 - 0 ratings