Hi Daniel, did you also upgrade the workflow for the report generation (workflow/def/report_full.yaml)? The method to load the values and labels for the report selection has changed so I guess this is the error you are seeing.
Check for this part in the workflow def:
report_config:
name: report_config
label: I18N_OPENXPKI_UI_REPORT_CONFIG_LABEL
type: select
option:
item@: report
mode: map
required: 1
Oliver
Am 10.12.19 um 08:50 schrieb Daniel Berteaud:
> Followup of Github issue https://github.com/openxpki/openxpki/issues/731
>
> Since I upgraded to OpenXPKI 3.1.4 (with config 3.1.2, manual install
> from sources on CentOS 7), Full Certificate Status report is broken. On
> the webui, I get the following as soon as I click on the Full
> Certificate Status Report link
>
>
> |Unable to load workflow information.|
>
>
> Note : I don't even get to the page where I can select the report to
> generate.
>
> And in my system logs
>
> |Dec 09 10:36:37 openxpki (main) worker: dani (RA Operator)[3015]: ERROR
> - Error while executing API command; __caller__ =>
> /opt/openxpki/lib/perl5/x86_64-linux-thread-multi/OpenXPKI/Service/Default/CommandApi2.pm:77,
> __command__ => get_w orkflow_base_info, __error__ => requested value is
> not a scalar $VAR1 = { 'expiry' => { 'cols' => [ { 'attribute' =>
> 'meta_email', 'head' => 'Requestor eMail' }, { 'attribute' =>
> 'meta_requestor', 'head' => 'Requestor Name' } ], 'cutoff_notafter' =>
> '+000060', 'delimiter' => ' ', 'head' => 'Certificate Expiry Report,
> created at: [% export_date %]', 'include_expired' => '-000030', 'label'
> => 'Expiry Report' }, 'valid' => { 'delimiter' => ' ', 'head' =>
> 'Certificate Status Report, created at: [% export_date %]', 'label' =>
> 'Certificate Status Report' } };|
>
>
> My report config is the one provided in the default realm.tpl config,
> and has
>
> expiry.yaml :
>
> label: Expiry Report
> head: "Certificate Expiry Report, created at: [% export_date %]"
> delimiter: "\t"
> cutoff_notafter: +000060
> include_expired: -000030
>
> cols:
> - head: Requestor eMail
> attribute: meta_email
> - head: Requestor Name
> attribute: meta_requestor
> # Note: Adding SANS is very expensive!
> # - head: SANs
> # template: "[% attribute.subject_alt_name.join(', ') %]"
>
>
> And valid.yaml :
>
> label: Certificate Status Report
> head: "Certificate Status Report, created at: [% export_date %]"
> delimiter: "\t"
>
>
> What can I check ?
>
> Regards,
> Daniel
>
> --
>
> Logo%20FWS <https://www.firewall-services.com>
>
>
> *Daniel Berteaud*
> FIREWALL-SERVICES SAS, La sécurité des réseaux
> Société de Services en Logiciels Libres
> Tél : +33.5 56 64 15 32
> Matrix: @dani:fws.fr
> https://www.firewall-services.com
>
>
>
> _______________________________________________
> OpenXPKI-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>
--
Protect your environment - close windows and adopt a penguin!
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ OpenXPKI-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openxpki-users
