Announcement

Collapse
No announcement yet.

recordService\throwForbidden does not support Chinese characters?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • recordService\throwForbidden does not support Chinese characters?

    recordService\throwForbidden('超过预算')

    错误 403: 拒绝访问
    超过预算​

  • #2
    Workaround:

    Code:
    $o = object\create();
    object\set($o, 'label', '超过预算');
    
    $body = object\create();
    object\set($body, 'messageTranslation', $o);
    
    recordService\throwForbidden('', $body);​

    In the next version it will work w/o workaround.

    Comment

    Working...
    X