Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12349

Update the document title after rename or copy if the title is the same as the document name

    XMLWordPrintable

Details

    • Unit
    • High
    • Easy
    • N/A

    Description

      Steps to reproduce:

      1. Create xwiki/bin/view/1/2/ space
      2. Put this code into a terminal page, then click Save & View

      #set ($source = $services.model.resolveSpace('1.2'))
      $services.refactoring.rename($source, '3').join()
      

      3. Check the space macro from Main.WebHome. You'll see that the renaming worked, so you'll have the space "1.3"
      4. Click on it

      You'll get something like in the picture from attachment.

      The URL changed according to the new name, but the document title si still "2".

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              gabriela.smeria Gabriela Smeria
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2 hours
                  2h