Author: neilk
Description:
There seem to be a few problems with the Upload Campaign licenses:
1 - If you choose a license as "default" but it isn't in the set of non-default licenses, then the submit button appears not to work.
The reason why is that the default choice is implemented by selecting (behind the scenes) the option in the list of non-default choices. So, if you do this:
Default license: A Non-default licenses: B, C, D
It doesn't work. If you switch the view to the non-default licenses, then you'll see the red error message asking you to please select one.
But if you do this:
Default license: A Non-default licenses: A, B, C, D
It should work.
There is some attempt at dealing with this situation in the code but it would be better if it was just impossible for this to happen.
2 - For reasons I don't undertand, when we deployed it live, I couldn't make a campaign change the default license to anything but CC-BY-SA-3.0. The campaign config is stored correctly; something else is interfering. This triggers the bug described above.
I did not see this behavior on testwiki. This is CRUCIAL to fix for WikiLovesMonuments.
3 - If the user tries to upload multiple files, they do have the option of giving them different licenses. In this situation, there is a license widget for every upload. The preference of which licenses to show (own work, not own work, or both) does not seem to carry through here.
Version: unspecified
Severity: normal