Skip to content

[Bug]: Internal Servor Error delete share #1543

@vincaut

Description

@vincaut

⚠️ This issue respects the following points: ⚠️

Bug description

When I want to delete a share whose folder contains images

Undefined constant OCP\Share::SHARE_TYPE_USER in file '/var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php' line 154

Steps to reproduce

  1. Install and enable maps
  2. Share a folder with images
  3. Check if the images appear on the map
  4. Try to delete the share

Expected behavior

I can't delete the share; I have to disable Maps to remove it.

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?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

-

Nextcloud Signing status

Nextcloud Logs

Browser Console

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions