nextcloud / gallery

DEPRECATED Gallery app was replaced by Photos
https://github.com/nextcloud/photos
GNU Affero General Public License v3.0
109 stars 58 forks source link

Gallery description not loading #489

Open RX4NT9UP opened 5 years ago

RX4NT9UP commented 5 years ago

Bug report

Steps to reproduce

  1. create gallery.cnf in root of nextcloud
  2. populate with:
    # Gallery configuration file
    information:
    description: This is an **album description** which is only shown if there is no `description_link`
    description_link: readme.md
    inherit: yes
    sorting:
    type: date
    order: des
    inherit: yes
  3. create subdirectory and upload a photo
  4. create readme.md text file in subfolder with any contents

Expected behaviour

Upon viewing in gallery clicking the i for description should show the contents of readme.md (or the description line if readme.md doesn't exist)

Actual behaviour

The i for description shows "Could not load the description"

Server configuration

Operating system: Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux

Web server: nginx/1.10.3

Database: (PostgreSQL) 9.6.10

PHP version: PHP 7.0.30-0+deb9u1

Nextcloud configuration

Nextcloud version: (see admin page or version.php) Nextcloud 14.0.4

Updated from an older installation or fresh install: Updated from ~14.0.1

List of activated apps:

App list - accessibility: 1.0.1 - activity: 2.7.0 - bruteforcesettings: 1.2.0 - calendar: 1.6.4 - cloud_federation_api: 0.0.1 - comments: 1.4.0 - contacts: 2.1.8 - dav: 1.6.0 - federatedfilesharing: 1.4.0 - federation: 1.4.0 - files: 1.9.0 - files_pdfviewer: 1.3.2 - files_sharing: 1.6.2 - files_texteditor: 2.6.0 - files_trashbin: 1.4.1 - files_versions: 1.7.1 - files_videoplayer: 1.3.0 - firstrunwizard: 2.3.0 - gallery: 18.1.0 - logreader: 2.0.0 - lookup_server_connector: 1.2.0 - mail: 0.11.0 - news: 13.0.3 - nextcloud_announcements: 1.3.0 - notifications: 2.2.1 - oauth2: 1.2.1 - password_policy: 1.4.0 - provisioning_api: 1.4.0 - serverinfo: 1.4.0 - sharebymail: 1.4.0 - support: 1.0.0 - survey_client: 1.2.0 - systemtags: 1.4.0 - theming: 1.5.0 - twofactor_backupcodes: 1.3.1 - updatenotification: 1.4.1 - workflowengine: 1.4.0

Nextcloud configuration:

Config.php NA

Are you using external storage, if yes which one: local folder, smb share, sftp, etc. no

Are you using encryption: yes/no no

Are you using custom gallery.cnf config files: yes/no yes

Web server error log

Web server error log NA

Nextcloud log

Nextcloud log NA

Client configuration

Browser: 63.0.3 (64-bit)

Operating system: Windows 7

Browser log

Browser log NA