Project

General

Profile

Actions

Bug #10189

closed

When sharing a file, the generic method always returns "repaired"

Added by Nicolas CHARLES almost 8 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

When we share a file, the generic method always returns "repair" status, wbecause it doesn't detect that file is already there
Indeed, it calls

https://server/rudder/relay-api/shared-files/d3db571a-9659-4fc9-9230-e594cb9d65b4/82d806d8-1359-4d8f-a405-fe8cab062888/pouet?ttl=30minutes&hash=3539d0fc14b5aae37297b1e99f1ba6312c96d039194bdd03546fd948a82a372bc29e1450d2fb970aba411688b1cddd2a0eef3b95d9783123edf4913274a0b461 

to detect if file is there.
Note the 2 "?" in the URL - second one should be &

Actions #1

Updated by Benoît PECCATTE almost 8 years ago

  • Status changed from New to In progress
Actions #2

Updated by Benoît PECCATTE almost 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/ncf/pull/530
Actions #3

Updated by Benoît PECCATTE almost 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Vincent MEMBRÉ about 7 years ago

  • Status changed from Pending release to Released
  • Priority set to 0
Actions #5

Updated by Alexis Mousset over 2 years ago

  • Target version changed from master to ncf-1.2
Actions #6

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: Atom PDF