Ticket #992 (closed Defect: fixed)

Opened 5 years ago

Last modified 5 years ago

File topics: opening files when not logged in

Reported by: jri Owned by: jri
Priority: Minor Milestone: Release 4.8.2
Component: DeepaMehta Standard Distribution Version: 4.8.1
Keywords: Cc: dgf, Malte, JuergeN
Complexity: 2 Area:
Module: deepamehta-files

Description

Opening a file through double-clicking the File topic doesn't work if not logged in.
The client-side error is:

You're not authorized. Sorry.
Server status: 401 Unauthorized

Change History

comment:1 Changed 5 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 5 years ago by Jörg Richter <jri@…>

In 353c78b61f8c6e62ee153d378af95253de7024a4/deepamehta:

File topics: opening file if not logged in (#992).

Opening a file through double-clicking the File topic works also if not logged in.

BREAKING CHANGE

Files REST API:

GET /files/open/{file_topic_id}

This was a POST request formerly.

See #992.

comment:3 Changed 5 years ago by Jörg Richter <jri@…>

In 93a50d8cca7094b03633af799bf28bf818ab055e/deepamehta:

Files API: openFile() is non-void (#992).

The FilesService's openFile() method now returns an int.
Returned is always 0.

This is to eliminate this Jersey-Warning:

WARNING: The following warnings have been detected with resource and/or provider classes:
  WARNING: A HTTP GET method, public void de.deepamehta.files.FilesPlugin.openFile(long), MUST return a non-void type.

See #992.

comment:4 Changed 5 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.