Ok. Thanks for help. I temporary switched back to latin symbols.
Can You help me with second question?
I repeat my question:
---
I don't understand how to preset username field to logged in username.
I try to add line "preset: "[% creator %]"" into
"config.d/realm/ca-NPK/profile/template/username.yaml", but have clear
field.
I tried different options (context.creator, etc.), but nothing has changed.
When I try set it via
OpenXPKI::Server::Workflow::Activity::Tools::SetContextHash, i get
"I18N_OPENXPKI_SERIALIZATION_SIMPLE_READ_DATA_TYPE_NOT_SUPPORTED".
My certificate_signing_request_v2.yaml:
----
...
ENTER_SUBJECT:
label: I18N_OPENXPKI_UI_WORKFLOW_STATE_CSR_ENTER_SUBJECT_LABEL
description: I18N_OPENXPKI_UI_WORKFLOW_STATE_CSR_ENTER_SUBJECT_DESC
action:
# - edit_subject > ENTER_SAN
- npk_fill_subject edit_subject > ENTER_SAN
...
action:
...
npk_fill_subject:
class: OpenXPKI::Server::Workflow::Activity::Tools::SetContextHash
param:
target_key: cert_subj_parts
_map_username: "[% creator %]"
# username: "stace"
----
log:
---
2017/11/16 20:05:06 openxpki.application.INFO Execute action
csr_npk_fill_subject on workflow #3460863
[pid=5156|sid=htLD|wftype=certificate_signing_request_v2|wfid=3460863]
2017/11/16 20:05:06 openxpki.application.INFO Execute action
csr_edit_subject on workflow #3460863
[pid=5156|sid=htLD|wftype=certificate_signing_request_v2|wfid=3460863]
2017/11/16 20:05:06 openxpki.system.ERROR
I18N_OPENXPKI_SERIALIZATION_SIMPLE_READ_DATA_TYPE_NOT_SUPPORTED; __MSG__
=> ; __SEPARATOR__ =>
; __CALLER__ => ARRAY(0x8792880)
[pid=5156|sid=htLD|wftype=certificate_signing_request_v2|wfid=3460863]
2017/11/16 20:05:06 Workflow.ERROR Caught exception from action:
I18N_OPENXPKI_SERIALIZATION_SIMPLE_READ_DATA_TYPE_NOT_SUPPORTED;
__SEPARATOR__ =>
; __CALLER__ => ARRAY(0x8792880); __MSG__ => ; reset workflow to old
state 'ENTER_SUBJECT_CSR_NPK_FILL_SUBJECT_0'
[pid=5156|sid=htLD|wftype=certificate_signing_request_v2|wfid=3460863]
2017/11/16 20:05:06 openxpki.system.ERROR
I18N_OPENXPKI_SERVER_WORKFLOW_ERROR_ON_EXECUTE; __ERROR__ =>
I18N_OPENXPKI_SERIALIZATION_SIMPLE_READ_DATA_TYPE_NOT_SUPPORTED; __MSG__
=> ; __CALLER__ => ARRAY(0x8792880); __SEPARATOR__ =>
; __ACTION__ => csr_edit_subject; __EXCEPTION__ => OpenXPKI::Exception
[pid=5156|sid=htLD|wftype=certificate_signing_request_v2|wfid=3460863]
2017/11/16 20:05:06 openxpki.workflow.ERROR Error executing workflow
activity 'csr_npk_fill_subject' on workflow id 3460863 (type
certificate_signing_request_v2):
I18N_OPENXPKI_SERVER_WORKFLOW_ERROR_ON_EXECUTE; __EXCEPTION__ =>
OpenXPKI::Exception; __ACTION__ => csr_edit_subject; __ERROR__ =>
I18N_OPENXPKI_SERIALIZATION_SIMPLE_READ_DATA_TYPE_NOT_SUPPORTED;
__SEPARATOR__ =>
; __CALLER__ => ARRAY(0x8792880); __MSG__ =>
[pid=5156|sid=htLD|wftype=certificate_signing_request_v2|wfid=3460863]
---
--
07.12.2017 14:06, Oliver Welter пишет:
Hi,
in that case it looks like we still have problems with UTF8 :(
Sorry I don't have a quick fix for this, we need to investigate this.
Oliver
Am 04.12.2017 um 08:58 schrieb Станислав Захаров:
Good day!
I have libopenxpki-perl & openxpki-i18n version 1.19.5-1 installed
from http://packages.openxpki.org/ubuntu/
03.12.2017 15:37, Oliver Welter пишет:
Hi,
did you upgrade to 1.19 in the meantime? This error was a well known
one with the old serialization and non-latin chars but should be
gone with 1.19.
Oliver
Am 24.11.2017 um 12:00 schrieb Станислав Захаров:
Good day!
I changed the connector used in the file notify_expiry.yaml so that
it returns the Russian names from LDAP, and it works!
But, now i can't see list of workflows in Web-GUI.
The GUI interface shows a dialog: "Application Error: The server
did not return JSON data as expected. Maybe your authentication
session has expired.", and the error appears in the openxpki.log
file: "openxpki.system.FATAL Uncaught exception: Wide character in
subroutine entry at /usr/lib/perl5/OpenXPKI/Transport/Simple.pm
line 58."
Can this error be fixed?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users