nextcloud / ocsms

📱 Nextcloud/ownCloud PhoneSync server application
https://play.google.com/store/apps/details?id=fr.unix_experience.owncloud_sms
GNU Affero General Public License v3.0
189 stars 52 forks source link

Messages not shown #322

Open synapticweb opened 4 years ago

synapticweb commented 4 years ago

When loading a conversation with 1231 messages no message is shown, only "Please select a conversation from the list to load it" is shown, no message. The other conversations with less messages are unaffected. All messages are present in the database. No suspect errors in [datadir]/nextcloud.log. (There are other log files?) Just deprecation warnings in the browser console. Tested on desktop with Firefox 78 and Brave 81 and on mobile with brave 1.11.

Server configuration

Nextcloud version: 19.1

PHP version: 7.3.20

HTTPd server: LiteSpeed V7.6

Database engine & version: MariaDb 10.3.23

synapticweb commented 4 years ago

While playing with the database I just found out that the issue has no relationship with the number of messages in conversation: when the smsaddress field contains a space, the messages are not shown. Replacing the space with a fixed the problem.