PartKeepr icon indicating copy to clipboard operation
PartKeepr copied to clipboard

Sorting by ID cause popup error.

Open AlxrMironovOldAcc opened this issue 2 years ago • 0 comments

Bug description

When im try to sort parts list by ID collumn, nothing will be sorted, but some parts will be lost till relogin, also ive got a popup error.

Steps to reproduce

  1. Go to 'main parts list'
  2. Click on 'ID title'
  3. See error

Expected behavior

Parts list will be sorted by ID.

Observed behavior

Error popup

Details

[Syntax Error] line 0, col 61: Error: Expected end of string, got 'id'

Request

GET http://xxx.yyy/api/parts?_dc=1667331686056

Response

Response Status Code 500 {"@context":"/api/contexts/Error","@type":"Error","hydra:title":"An error occurred","hydra:description":"[Syntax Error] line 0, col 61: Error: Expected end of string, got \u0027id\u0027"}

Server Configuration

doctrine_orm_version: 2.5.4 doctrine_dbal_version: 2.5.2 doctrine_common_version: 2.6.0-DEV php_version: 7.1.33-50+ubuntu20.04.1+deb.sury.org+2 auto_start_session: true maxUploadSize: 2097152 isOctoPartAvailable: false availableImageFormats: JPG,GIF,PNG max_users: unlimited authentication_provider: PartKeepr.Auth.HTTPBasicAuthenticationProvider tip_of_the_day_uri: https://partkeepr.org/tips/%s password_change: true patreonStatus: defaultGridPresets: []

JavaScript errors

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

AlxrMironovOldAcc avatar Nov 01 '22 19:11 AlxrMironovOldAcc