nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.44k stars 4.08k forks source link

[Bug]: `[object Object]` show in place of headings on 'Your apps' page, app details panel, description tab #48661

Closed gerhardt-bergmann closed 3 weeks ago

gerhardt-bergmann commented 1 month ago

⚠️ This issue respects the following points: ⚠️

Bug description

After upgrading from Nextcloud 29 to Nextcloud 30, the headings included in the appinfo/info.xml file, like ### Features, ## Known issues, etc. are rendered correctly on the app store page, as <h3>, <h2>, etc., but are rendered as '[object Object]' on 'Your apps' page, app details panel, description tab, as shown on the right side of this picture:

Image

Steps to reproduce

  1. Install the Cospend app.
  2. Click on your profile picture on the upper bar, choose 'Apps', on the left panel click on 'Your apps'.
  3. On the 'Your apps' page click on 'Cospend', then, on the right hand slide-in panel, click on the 'Description' tab.

Expected behavior

The first line of the description should read 'Nextcloud Cospend' and not '[object Object]'.

Nextcloud Server version

30

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 28 to 29)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

There are no log errors.

Bestora commented 1 month ago

Image The Headings seems to be broken.

Bestora commented 1 month ago

The implementation of the markdown renderer and the docs of that library are different. I changed that affected part, but found another one.

Image https://github.com/nextcloud/server/blob/7e99fd31eaef82abbed6d53de27de75752faf67a/apps/updatenotification/src/composables/useMarkdown.ts#L31

I'm still fresh to nextcloud, I can't find the usage of this one.

TRIPLE-ADE commented 3 weeks ago

can you assign this to me would love to work on it