Uploaded image for project: 'YesCart'
  1. YesCart
  2. YC-16

Rework DtoImageServiceImpl API so that we do not use filename as search field

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: manager server, sf server
    • Labels:
      None

      Description

      • filename does not allow unique identification (could be duplicates e.g. Brand, Product, Category directories)
      • make filename as indexed unique field so that we do not have db discrepancies
      • rework addImageToRepository so that it returns a unique filename, say if the file already exists then the service would add _1, _2, _3 ... _n to avoid duplicates.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                azarny Igor Azarny
                Reporter:
                denis Denis Pavlov
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: