eclipse-sw360 / sw360

SW360 project
https://www.eclipse.org/sw360/
Other
123 stars 99 forks source link

Cannot print changelog info "Change type" and "Action" because they are always [object Object] in print mode #1158

Open KoukiHama opened 3 years ago

KoukiHama commented 3 years ago

Description

Action items which user try to print change log of project/component are "[object Object]" They should be changed.

How to reproduce

Click the action button, and open print pages. Then "Change Type" and "Action" show "[object Object]"

I think sw360 should remove "Action" when they print logs. It is difficult to print cleanly.

Screenshots

If applicable, add screenshots to help explain your problem.

_20210324_235131

_20210324_235722

In this case, "Attribute change" should be print instead of [object Object] in change Type

Versions

Version: 13.1.0-SNAPSHOT | Branch: master (ce69b3b)

Logs

SW360 logs

Logs generated under /var/log/sw360/sw360.log

Tomcat logs

Logs generated under /var/log/tomcat/error.log

KoukiHama commented 3 years ago

For considering this Print function error, to check these is important

1118

1119

mcjaeger commented 3 years ago

just tested it for curiosity, but on my printer preview it looks OK either in portrait mode

Screenshot 2021-03-24 at 22 21 21

and also in landscape orientation:

Screenshot 2021-03-24 at 22 21 34

Which paper format do you use, maybe the printing is just optimised for DIN A4 format (used in Germany) and looks bad on other formats?

KoukiHama commented 3 years ago

@mcjaeger Oh sorry my description was not good and I updated.

This issue refer to action and change type is always [object Object] in print mode. (Your screenshot also have same problem.) I don't mention about paper size format. _20210325_064931

mcjaeger commented 3 years ago

Uh Oh, or my reading abilities are not good. understood the issue now