I can see why it isn't working, the collection license is stored in "copyright_text" in the collection table. When the license is retrieved by Collection.getLicense from LicenseStep.addBody it is looking in the "licence" column.
George George Hamilton wrote: > Hi Claudia > > I tried defining a license for a collection but am still prompted for > the default license. Furthermore, the collection license is not > attached to the item. I'm using 1.5.0 XML UI > > George > > Claudia Jürgen wrote: > >> Hi Mika, >> >> you can specify licenses per collection, entering the license text in >> the license attribute of a collection. Only if no specific license is >> present for a collection the default license is taken. >> >> Hope that helps >> >> Claudia >> >> Mika Stenberg schrieb: >> >> >>> I'd like to define different licenses for each collection - is it possible? >>> >>> Thanks, >>> -Mika >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> DSpace-tech mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>> >>> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> DSpace-tech mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> >> >> >> > > > -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

