PowerlineApp / powerline-mobile

Other
4 stars 16 forks source link

Staging/Prod: Cannot see any comments on IPA or APK #587

Closed jterps08 closed 7 years ago

jterps08 commented 7 years ago

I am unable to see any comments I have added on either IPA or APK builds in Staging. Igor confirms that he can see that comments have been added on backend, but I cannot see them on the frontend. The counter also doesn't seem to count them correctly, but I can't be sure about that either.

Did we get the right builds for staging?

igaponov commented 7 years ago

Backend is working:

$ http GET https://api-staging.powerli.ne/api/v2/posts/208/comments "Token:user_zxc" 
HTTP/1.1 200 OK
Cache-Control: no-cache, private
Connection: keep-alive
Content-Type: application/json
Date: Thu, 13 Apr 2017 03:35:55 GMT
Server: nginx/1.1.19
Transfer-Encoding: chunked
{
    "items": 20, 
    "page": 1, 
    "payload": [
        {
            "author_picture": null, 
            "comment_body": "This post is for Igor", 
            "comment_body_html": "This post is for Igor", 
            "created_at": "Thu, 13 Apr 2017 02:57:57 +0000", 
            "id": 351, 
            "is_owner": null, 
            "parent_comment": 0, 
            "privacy": "public", 
            "rate_sum": 0, 
            "rate_value": "", 
            "rates_count": 0, 
            "user": null
        }, 
        {
            "author_picture": "https://powerline-staging.imgix.net/avatars/589a438fa4320.jpeg?ixlib=php-1.1.0", 
            "comment_body": "Igor 1", 
            "comment_body_html": "Igor 1", 
            "created_at": "Thu, 13 Apr 2017 02:58:03 +0000", 
            "id": 352, 
            "is_owner": true, 
            "parent_comment": 0, 
            "privacy": "public", 
            "rate_sum": 0, 
            "rate_value": "", 
            "rates_count": 0, 
            "user": {
                "avatar_file_name": "https://powerline-staging.imgix.net/avatars/589a438fa4320.jpeg?ixlib=php-1.1.0", 
                "first_name": "Zxc", 
                "full_name": "Zxc Zxc", 
                "id": 59, 
                "last_name": "Zxc", 
                "type": "user", 
                "username": "zxc"
            }
        }, 
        {
            "author_picture": "https://powerline-staging.imgix.net/avatars/589a438fa4320.jpeg?ixlib=php-1.1.0", 
            "comment_body": "Igor 2", 
            "comment_body_html": "Igor 2", 
            "created_at": "Thu, 13 Apr 2017 02:58:07 +0000", 
            "id": 353, 
            "is_owner": true, 
            "parent_comment": 0, 
            "privacy": "public", 
            "rate_sum": 0, 
            "rate_value": "", 
            "rates_count": 0, 
            "user": {
                "avatar_file_name": "https://powerline-staging.imgix.net/avatars/589a438fa4320.jpeg?ixlib=php-1.1.0", 
                "first_name": "Zxc", 
                "full_name": "Zxc Zxc", 
                "id": 59, 
                "last_name": "Zxc", 
                "type": "user", 
                "username": "zxc"
            }
        }, 
        {
            "author_picture": "https://powerline-staging.imgix.net/avatars/589a438fa4320.jpeg?ixlib=php-1.1.0", 
            "comment_body": "Igor 3", 
            "comment_body_html": "Igor 3", 
            "created_at": "Thu, 13 Apr 2017 02:58:11 +0000", 
            "id": 354, 
            "is_owner": true, 
            "parent_comment": 0, 
            "privacy": "public", 
            "rate_sum": 0, 
            "rate_value": "", 
            "rates_count": 0, 
            "user": {
                "avatar_file_name": "https://powerline-staging.imgix.net/avatars/589a438fa4320.jpeg?ixlib=php-1.1.0", 
                "first_name": "Zxc", 
                "full_name": "Zxc Zxc", 
                "id": 59, 
                "last_name": "Zxc", 
                "type": "user", 
                "username": "zxc"
            }
        }
    ], 
    "totalItems": 4
}
austinpapp commented 7 years ago

Is this still happening?

jterps08 commented 7 years ago

Yes related to #582