Skip to content

Conversation

max-wittig
Copy link
Contributor

the user is shown an alert dialog, to prevent useless bulk scans
If there is a better way to inform the user about this error, please let me know

Fixes #641

Copy link
Member

@shaheemazmalmmd shaheemazmalmmd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. Tested works as expected.

I think making bulk reference text also required would also help.

@max-wittig max-wittig self-assigned this May 10, 2017
an alert dialog is shown to the user to prevent useless bulk scans

Fixes fossology#641
@max-wittig max-wittig force-pushed the dev/fix-bulk-license-selection branch from 87776fe to 5c5cb4f Compare May 10, 2017 13:23
@max-wittig
Copy link
Contributor Author

max-wittig commented May 10, 2017

bulk reference text is now also required to contain at least 2 words. Ready for testing. Thanks @shaheemazmalmmd

@shaheemazmalmmd shaheemazmalmmd merged commit 77c23e8 into fossology:master May 12, 2017
@DineshDevarajan
Copy link
Contributor

I need to use bulk reference text as "MODULE_LICENSE("GPL");" which is a single word and as this feature has made the reference text to at least 2 words I am unable to run the scan as it results in an error "Reference text needs to be at least 2 words long".

I understand when the length is 0 it should not run. So Would like to know why the reference text is restricted for length=1.

@tq-krutzc
Copy link

created a new ticket: #1654

@GMishx GMishx deleted the dev/fix-bulk-license-selection branch March 10, 2020 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add warning when bulk scanning with no license selected (for addition or removal)

4 participants