Skip to content

Deleting MultiVC objects from trash results in error message if connection no longer exists #22

Description

@mBeym

Attempting to delete a MultiVC object for which no connection exists anymore results in an error message and prevents the object from ever being deleted.

Error message:

Meeting Type for a MultiVc Object does not exist anymore


While the plugin prevents deleting a MultiVC connection while objects exist using this connection
once those objects are in the ILIAS trash, the plugin no longer "sees" those object and allows the user to delete a connection.

When the user then attempts to delete objects from the trash, the object cannot be read prior to deleting and throws the mentioned error message.

This is caused by ilObjMultiVc::doRead

$settings = new ilMultiVcConfig($record["conn_id"]);
if(!isset($settings->option))


In my opinion 2 fixes need to be implemented.

  1. objects located in trash should still be considered/detected in the connection list view.
  2. Deletion process needs to be changed to still allow at least deleting the objects, otherwise this will result in never being able to delete objects which are already in a "bugged" state.

Reproducible in at least ILIAS 9 & 10 version of the plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions