【问题标题】:Internationalization of task comments using Camunda rest-engine使用 Camunda 休息引擎对任务评论进行国际化
【发布时间】:2021-11-17 10:02:36
【问题描述】:

我在 tomcat 中将 Camunda 设置为 Web 服务,并通过我的 .NET Web 应用程序连接到它。 当我使用以下其余 API 对任务创建评论时

POST /task/{id}/comment/create

带有 Unicode(波斯语)的消息,例如“این نمونه است” 我在响应请求中得到了正确的消息。此外,评论以波斯语正确保存在 camunda 数据库中。 但是当我使用这个 API 得到评论时

GET /task/{id}/comment/{commentId}

我收到的消息是“?? ???” 我用邮递员试了一下,得到了同样的结果。 我还在tomcat中设置了 JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF-8" 但它没有解决它。 我想知道问题的根源是什么?

提前致谢

【问题讨论】:

    标签: tomcat camunda business-process-management


    【解决方案1】:

    感谢@hassang 和@davidgs 在Camunda community 中的回复,

    它看起来像 /comment 子资源的 get 请求中的一个错误,我提交了一个错误 Camunda GitHub repository 如下:

    https://jira.camunda.com/browse/CAM-14125

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-13
      • 1970-01-01
      • 2018-02-05
      • 2019-03-02
      相关资源
      最近更新 更多