JoeyChiou / ELOEditor

Apache License 2.0
0 stars 2 forks source link

Create Author group #10

Closed chalothon closed 8 years ago

chalothon commented 8 years ago

I can create a group but the system don’t show any information after I created a group and number of groups created = 0 image image

yrchen commented 8 years ago

Confirm. :+1:

yrchen commented 8 years ago

@JoeyChiou 我確認過這個 bug, 伺服器端會回應 500, 但是我自己測試這個 API 是正常的,我想又是送出格式錯誤的老問題

yrchen commented 8 years ago

@JoeyChiou 更新,我測試過 Groups 這個 API, 用 JSON 送 request 沒事,用 Form 送會爛。同樣的 ELOs 的 API 就沒事,不管用 JSON 或是 Form 都正常沒問題

yrchen commented 8 years ago

https://github.com/yrchen/CommonRepo/issues/3

yrchen commented 8 years ago

@JoeyChiou 在 CommonRepo 上的設定是只用 JSON parser 處理所有的 requests, 所以大原則應該是把所有的 requests 都轉用 JSON 送,你可能得考慮把這邊一次處理掉比較好

yrchen commented 8 years ago

@chalothon Bug fixed. Thanks. :+1:

https://github.com/yrchen/CommonRepo/commit/72920434955e97e01a0763e849a043e4bbe6f2a8