Skip to content
This repository has been archived by the owner. It is now read-only.

Read users aren't able to export search results as CSV #1492

Closed
joschi opened this issue Jun 17, 2015 · 3 comments
Closed

Read users aren't able to export search results as CSV #1492

joschi opened this issue Jun 17, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@joschi
Copy link
Contributor

@joschi joschi commented Jun 17, 2015

Non-admin users who try to export messages of a stream as CSV, only get a JSON document with the following content:

{"type":"ApiError","message":"HTTP 403 Forbidden"}

Refs #1478

@joschi joschi added the bug label Jun 17, 2015
@joschi joschi added this to the 1.1.3 milestone Jun 17, 2015
@joschi joschi self-assigned this Jun 17, 2015
@joschi joschi closed this in 1d67928 Jun 17, 2015
@Binford3000
Copy link

@Binford3000 Binford3000 commented Jun 23, 2015

With 1.1.3 I get an error with "Invalid range type provided." as the reason. Only when exporting from a stream. Standard search -> export is working. Do you need any more information?

Request information:

Method
    GET
Query

        relative=300
        sortField=timestamp
        q=54bfbb5d0cf2b56ecadd2bf4?rangetype=relativeTrk*
        fields=message,source
        sortOrder=desc

Referer
    https://<HOSTNAME>:1443/streams/54bfbb5d0cf2b56ecadd2bf4/messages?rangetype=relative&fields=message%2Csource&width=1883&relative=300&q=Trk*
Connection
    keep-alive
Accept
    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
DNT
    1
Accept-Language
    de,en-US;q=0.7,en;q=0.3
Accept-Encoding
    gzip, deflate
User-Agent
    Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Host
    <HOSTNAME>:1443

Cheers,
Guido

@edmundoa
Copy link
Member

@edmundoa edmundoa commented Jun 23, 2015

I could reproduce the behaviour @Binford3000 described in 1.1.3 and master.

@edmundoa edmundoa reopened this Jun 23, 2015
@edmundoa
Copy link
Member

@edmundoa edmundoa commented Jun 23, 2015

I thought it's better to create a new issue for tracking this, closing this one again :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants