When an album is not empty an error is generated when you try to delete it.

Here is the error in the log :
Drupal\Core\Entity\EntityStorageException : The "node" parameter was not converted for the path "/photos/{node}/{photos_image}" (route name: "entity.photos_image.canonical") dans Drupal\Core\Entity\Sql\SqlContentEntityStorage->delete() (ligne 763 de /homepages/12/d957135648/htdocs/parisvices/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

Comments

alex.amtr created an issue. See original summary.

nathaniel’s picture

Version: 6.0.x-dev » 7.0.x-dev
Assigned: Unassigned » nathaniel

Adding some tests for translated photos_image entities.

  • b38a5cca committed on 7.0.x
    Issue #3441031 by alex.amtr: Add tests for translated photos_image bugs.
    
nathaniel’s picture

Okay, tests are failing. Now the fix.

  • 3fa86d69 committed on 7.0.x
    Issue #3441031 by alex.amtr: Fix error when album with tranlated photos...
nathaniel’s picture

Version: 7.0.x-dev » 6.1.x-dev

Add the same test and fix to the 6.1.x branch.

  • 2a2ff623 committed on 6.1.x
    Issue #3441031 by alex.amtr: Fix error when album with tranlated photos...
nathaniel’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

nathaniel’s picture

Assigned: nathaniel » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.