Bug #1191

Bug #1047: Upload From Server hang when select a directory

upload from server is unable to process wildcards characters correctly

Added by larry shi over 1 year ago. Updated 9 months ago.

Status:Closed Start date:02/22/2012
Priority:High Due date:
Assignee:Dong Ma % Done:

0%

Category:UI
Target version:2.1.0
Rank:2 Tester:

Description

I know the cause, but it is difficult to fix.
also, I am not sure if we still need to support this function.

for now, on the UI, firstly, check if the file is exist and check if this file is readable.

History

Updated by Mary Laser over 1 year ago

  • Subject changed from upload from server say the file does not exist when upload from server if you specify a regular expression for the filename to upload from server is unable to process wildcards characters correctly

I attempted to upload gdebi_0.6.4.dsc using the pathname /home/laser/*.dsc
This resulted in the error message:
Upload failed for /home/laser/*.dsc: '/home/laser/*.dsc' does not exist.

Larry, can you provide some detail on how to fix?

Updated by larry shi about 1 year ago

  • Status changed from New to Feedback

Hi Mary,

late to reply, sorry.

for now, I did not have a good solution to fix this issue.

before uploading file(directory) from server, on UI we judge if this file(directory) exit, but for wildcards characters file(directory), UI will think this file(directory) does not exit.

One solution is: if find this path(you want to upload from server) is one wildcards characters file(directory), do not judge if it exits.

make sense? or any other suggestions?

Updated by Mary Laser about 1 year ago

  • Status changed from Feedback to Rejected

this is not a wildcard bug. it is related to #1413

Updated by larry shi about 1 year ago

  • Status changed from Rejected to Feedback

No, it is not related to #1413, you can reproduce this defect in the single system.
#1413 only can be reproduced in cluster.

Updated by larry shi 10 months ago

  • Rank set to 2
  • Estimate set to 4
  • IterNum set to 7

need evaluating if this issue is a defect, and if we have to fix it ASAP.

Updated by larry shi 10 months ago

  • Status changed from Feedback to In Progress
  • Priority changed from Normal to High

Updated by larry shi 10 months ago

  • IterNum changed from 7 to 6

Updated by larry shi 10 months ago

  • Status changed from In Progress to Resolved

fixed in svn 6120, you can upload like '/srv/fossology/*.php'

Updated by larry shi 10 months ago

  • Assignee changed from larry shi to Dong Ma

vincent, can you help to verify this issue? thanks

Updated by Dong Ma 10 months ago

  • Status changed from Resolved to Closed

Verified in svn6140 on single system.

Updated by Mary Laser 9 months ago

  • Target version changed from 2.0.1 to 2.1.0

Also available in: Atom PDF