Ignore:
Timestamp:
Nov 28, 2010, 12:05:27 PM (13 years ago)
Author:
gav
Message:

No domain change, avoid possible bug by using toLong() instead of toInteger() in setFromCheckBoxList().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/Asset.groovy

    r704 r723  
    5353        if(ids instanceof String) {
    5454                if(ids.isInteger())
    55                     idList << ids.toInteger()
     55                    idList << ids.toLong()
    5656        }
    5757        else {
    5858            ids.each() {
    5959                if(it.isInteger())
    60                     idList << it.toInteger()
     60                    idList << it.toLong()
    6161            }
    6262        }
Note: See TracChangeset for help on using the changeset viewer.