eclipse-sw360 / sw360

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

Cannot upload license archive #96

Open maierthomas opened 6 years ago

maierthomas commented 6 years ago

Issue by adrian-evo Tuesday Oct 11, 2016 at 08:47 GMT Originally opened as https://github.com/sw360/sw360portal/issues/266


Created two licenses manually, then downloaded as LicensesBackup.lics. When trying to upload the same license archive, the message is "Portlet is temporarily unavailable. ". Same when trying to upload a previous archive.

maierthomas commented 6 years ago

Comment by heydenreich Tuesday Oct 11, 2016 at 12:19 GMT


I tried the same on master. It works. Maybe you have some more information: which version of SW360, stacktrace from logfile etc?

maierthomas commented 6 years ago

Comment by adrian-evo Wednesday Oct 12, 2016 at 08:42 GMT


Tried again after deploying the latest master and I have the same message. It could be the environment is broken, so we will investigate further.

maierthomas commented 6 years ago

Comment by adrian-evo Friday Oct 28, 2016 at 07:28 GMT


Investigated with @alex-evo and the upload is working only when database is empty. When database is not empty, licenses cannot be imported because of non-unique todoIds.

maierthomas commented 6 years ago

Comment by heydenreich Friday Oct 28, 2016 at 08:35 GMT


This is a known problem, but it's good to have an issue on the public repo, too. If you import the data (.lics-archive) that comes from the other license-db (and that comes with todoIds), everything will work fine. The problem occurs if you create todos manually in the UI. They all get the same todoId and that cannot be handled when licenses are imported.

maierthomas commented 6 years ago

Comment by mcjaeger Thursday Feb 16, 2017 at 15:25 GMT


could be resolved by some undisclosed source