Update existing library entries

Created on 14 August 2021, over 3 years ago
Updated 18 July 2024, 4 months ago

Problem/Motivation

Right now, it is not possible to udpate an existing library item with an updated variant of a section. You need to delete the "old" section entry and resave the new one.

Proposed resolution

Provide a "create or update" checkbox in the "add section" form.

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇩🇪Germany Christian.wiedemann

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Open on Drupal.org →
    Core: 10.0.7 + Environment: PHP 8.1 & MySQL 8
    last update over 1 year ago
    Waiting for branch to pass
  • 🇩🇪Germany iuscare

    Hi there,

    there is a small bug in the latest patch, where we cannot get sections, because we are also fetching the templates here when trying to access the saved sections. This patche fixes this issue.

  • 🇺🇸United States segovia94

    It would be good to have the update checkbox behind a permission to prevent templates from being overridden by restricted users.

  • 🇳🇬Nigeria chike Nigeria

    None of the patches is applying on the latest version.

  • 🇮🇳India akshay_d Bangalore

    Hi all,

    I am able to get #16 patch working and able to replace the existing template/sections with new one and reuse the new one across the site.

    Drupal Version : 10.2.6

    Thanks

Production build 0.71.5 2024