Hi

After exporting Drupal configuration, I can't import this configuration because of this error :

The import failed due to the following reasons:
Configuration logut_redirect_config.settings depends on the logut_redirect_config extension that will not be installed after import.

Looking at the code of the module, I found this spelling mistake and I think that is what causes the error :
- logout_redirect.module (line 16)

$config = \Drupal::service('config.factory')->getEditable('logut_redirect_config.settings');

Can someone fix this?
Thanks.

It is not a spam :)

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

    Comments

    superkhaliloo created an issue. See original summary.

    superkhaliloo’s picture

    Why is this "Detected as spam" ??

    superkhaliloo’s picture

    Title: unable to import config » Unable to import config
    Issue summary: View changes
    gisle’s picture

    Why is this "Detected as spam" ??

    See #2994786: Mitigate the effect of Akismet unpublishing legitimate posts.

    I've re-published it.

    omkar_yewale’s picture

    Assigned: Unassigned » omkar_yewale
    Issue tags: +Trigyn-WeeklyCodeSprint
    omkar_yewale’s picture

    Status: Active » Needs review
    StatusFileSize
    new2.14 KB

    After Applying patch, uninstall module and install again.

    nicxvan’s picture

    Status: Needs review » Reviewed & tested by the community

    This rename works.

    rahulrasgon’s picture

    Assigned: omkar_yewale » Unassigned
    Status: Reviewed & tested by the community » Needs review
    StatusFileSize
    new2.94 KB
    new732 bytes

    Patch attached with the hook update to rename the config name and to remove the older config from the system. No need to uninstall module and install again.
    Please review.

    • rahulrasgon authored 47c1fba7 on 2.x.0
      Issue #3107832 by rahulrasgon: Unable to import config
      
    hardik_patel_12’s picture

    Status: Needs review » Fixed

    Appreciate everyone's efforts – the problem has been resolved in the 8.x-1.x and 2.x.0 branch.

    • rahulrasgon authored 1e70869e on 8.x-1.x
      Issue #3107832 by rahulrasgon, omkar_yewale: Unable to import config
      

    Status: Fixed » Closed (fixed)

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