UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Open Bug report #5319 WebAPI wrong userId is used
Go to the next issue (open or closed)
Go to the next open issue
geever (@geever) has been working on this issue since June 05, 2017 (22:42)
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Waiting
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    CAN'T REPRODUCE
  • Reproducability
    Often
  • Severity
    Not determined
  • Complexity
    Trivial
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
after successfully logged into the webapi (forum account) - i get an invalid userId of -1 on the console log and don't have access to my data files.

failed to list the cgame files for 'campaign' in category 0 for userid -1
Authentication successful
failed to upload file '/home/mattn/.ufoai/2.6-dev/base/save/campaign/slot0.savx': Timeout was reached
failed to upload the team from file 'save/campaign/slot0.savx'
found 2 cgame file entries
uploaded the team 'save/campaign/slot0.savx'
failed to fetch 'http://ufoai.org/api/cgamelist.php?cgame=campaign&category=0&userid=2&username=mattn&password=c4d752b485f94b252d58c0e1a564e29b90af831e': Timeout was reached
failed to query the cgame list for 'campaign' in category 0 and for user 2
failed to list the cgame files for 'campaign' in category 0 for userid -1
Steps to reproduce this issue
Campaign menu
Log into the webapi with forum account data
Switch to tab Download
Switch to tab Load
Try to upload something
Go back to tab Download

(The first upload attempt failed for me, too see the logs)
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif