opendevstack / ods-jenkins-shared-library

Shared Jenkins library which all ODS projects & components use - provisioning, SonarQube code scanning, Nexus publishing, OpenShift template based deployments and repository orchestration
Apache License 2.0
75 stars 57 forks source link

EDP document history and doc/header version do NOT match #856

Open clemensutschig opened 2 years ago

clemensutschig commented 2 years ago

Describe the bug If multiple development runs have commenced the version in the header of all documents does not equal to the version(s) in the document history.

To Reproduce Create multiple dev & wip runs with the same version / change from EDP. Look at the documents generated - the header version MUST match the document history version - but it does not

Expected behavior Latest document header version == latest version in the document history table

Screenshots header: image

footer: image

Affected version (please complete the following information):

Log Output (ensure to remove any confidential information like tokens, project names, etc.

Additional context CFR part 11! - my guesswork from reading the code is that we increase the existing number on each run by 1 - and that makes these things dont fit together

clemensutschig commented 2 years ago

@albertpuente @metmajer

metmajer commented 2 years ago

@clemensutschig I am confused. The Version in the table of your first screenshot holds the Change ID. Maybe this should be reworded? The second screenshot shows the document version, which increases every time you create a new set of documents. Why? Because a set of documents could have been uploaded to the EDMS (and other reasons, e.g. every TIR/DTR holding different timing and deployment information).

clemensutschig commented 2 years ago

@metmajer the doc header is the VERSION ... can be anything (alpha numeric) in fact - and in our case it's the change ID (which is the default setup of EDP .. :))

"increases every time you create a new set of documents. Why? Because a set of documents could have been uploaded to the EDMS" - if and only if I have "uploaded and signed them" .. then we could argue this ... :)