Skip to content

Rename-Item do not take info account language version #1287

Description

@alan-null

Using cmldet in a following way result in creating new language versions

$item | Rename-Item -Newname "OK"

where $item is only version other than en

Expected Behavior

No extensive language versions should be created

Actual Behavior

If you rename item with da version you will get extra en version

Steps to Reproduce the Problem

  • add Danish language to the system
  • create new item named da under /sitecore/content/Home
  • invoke script Get-Item -Path '/sitecore/content/Home/da' -Language "da" | Rename-Item -NewName "da1"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-commandsInvolves functions and cmdlets.impact-behaviour-changeNothing to be worried about. Now even better than before!🐞 bugOops! Sorry for the inconvenience.💪 improvementExtra sugar and spice.🤩-release-highlightExciting change that should be highlighted in the release notes and celebrated by SPE fans.

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions