• Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.2.0
    • None
    • frontend

      Currently, the name of a copy of a Report or Dashboard Object will be "Copy of [Object Name]", which is basically fine but, when creating multiple copies, will result in names like "copy of"Copy of "My Report""" (see screenshot).

      We should append "- Copy" to the original name instead.

        This is the controller panel for Smart Panels app

            [OPT-1390] Fix default object copy names

            I don't like the behavior that is described in this ticket. Previously, it was perfectly clear what was happening and if a customer creates a copy of a copy, then this is exactly what was represented in the title. Now we have some magic strings that introduce a lot of weird edge cases like these two bugs:

            1. Create a Report with the name "Data Copy". Duplicate this Report. The name of the duplicated report is "Data Copy - Copy -Infinity"
            2. Create a Report with the name "Report - Copy Userdata" and a Report with the name "New Report - Copy 7". Duplicate the "Report - Copy Userdata". The name of the duplicated report is "Report - Copy 8".

            Sebastian Stamm added a comment - I don't like the behavior that is described in this ticket. Previously, it was perfectly clear what was happening and if a customer creates a copy of a copy, then this is exactly what was represented in the title. Now we have some magic strings that introduce a lot of weird edge cases like these two bugs: 1. Create a Report with the name "Data Copy". Duplicate this Report. The name of the duplicated report is "Data Copy - Copy -Infinity" 2. Create a Report with the name "Report - Copy Userdata" and a Report with the name "New Report - Copy 7". Duplicate the "Report - Copy Userdata". The name of the duplicated report is "Report - Copy 8".

            I reverted the duplication to the old way but I changed it so that it appends "- Copy" instead of "Copy of <Report name>"
            I think this will do for now. If you have other suggestion please let me know

            Omran Abazeed added a comment - I reverted the duplication to the old way but I changed it so that it appends "- Copy" instead of "Copy of <Report name>" I think this will do for now. If you have other suggestion please let me know

            Looks good. I have adjusted the ticket description accordingly.

            Sebastian Stamm added a comment - Looks good. I have adjusted the ticket description accordingly.

              Unassigned Unassigned
              franz.heidl Franz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: