If you don't have nexcloud maps installed, defining in nextcloud contact an Address (ADR) of more than 255 characters works fine.
However if you have nextcloud maps installed then defining in nextcloud contact an Address (ADR) of more than 255 characters is refused with an error "Unable to update contact", and in database logs you get:
2024-08-05 12:47:10.397 CEST [149340] ERROR: value too long for type character varying(255)
2024-08-05 12:47:10.397 CEST [149340] STATEMENT: INSERT INTO "oc_maps_address_geo" ("adr", "adr_norm", "object_uri", "lat", "lng", "looked_up") VALUES($1, $2, $3, $4, $5, $6)
Steps to reproduce
add a contact with an address field of more than 255 characters (with maps installed)
nextcloud reports an error and does not update the address field
Expected behavior
No error
Installation method
None
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install of the server?
None
Is this bug present after an update or on a fresh install of the app?
None
Are you using the Nextcloud Server Encryption module?
I discovered this while importing a VCF into nextcloud, it refused to import a few entries and the common cause was the length of the address field in vcard and having maps app installed on nextcloud
⚠️ This issue respects the following points: ⚠️
Bug description
If you don't have nexcloud maps installed, defining in nextcloud contact an Address (ADR) of more than 255 characters works fine.
However if you have nextcloud maps installed then defining in nextcloud contact an Address (ADR) of more than 255 characters is refused with an error "Unable to update contact", and in database logs you get:
Steps to reproduce
Expected behavior
No error
Installation method
None
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install of the server?
None
Is this bug present after an update or on a fresh install of the app?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Browser Console
No response
Additional info
I discovered this while importing a VCF into nextcloud, it refused to import a few entries and the common cause was the length of the address field in vcard and having maps app installed on nextcloud