• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 1.0 Alpha2
    • 1.0 Alpha1
    • None

      Attach a file to a page, rename it, now try downloading the attached file, it fails because it can't find the attachment any more. We should either rename the attachments when a page is renamed, or store the spacekey/pagetitle/attachment.file in Attachments.filename field in db. With the second solution it will always find it and there's no need to move files around when we rename a page, but what's on disk would have the old page name. Thoughts?

      Ara.

            [CONFSERVER-231] Rename page causes lost attachments

            Yeah a better solution, but how to handle old attachments? We have to write the uppgrade manager soon

            Ara.

            Ara Abrahamian added a comment - Yeah a better solution, but how to handle old attachments? We have to write the uppgrade manager soon Ara.

            Yes! Having the PageID is a better solution.... i'm for this one

            Armond Avanes added a comment - Yes! Having the PageID is a better solution.... i'm for this one

            Can't we just use the page ID when storing the attachment - thus changing the page title doesn't affect things at all?

            Cheers,
            Mike

            Mike Cannon-Brookes added a comment - Can't we just use the page ID when storing the attachment - thus changing the page title doesn't affect things at all? Cheers, Mike

              0e1d1dcfc133 Armond Avanes
              b1cb4f1d3169 Ara Abrahamian
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: