" \"" + p.getTitle() + "\"");
SSPhotoset ssp = PhotosetDAO.getPhotosetForId(p.getPhotosetId());
if (ssp == null) {
ssp = new SSPhotoset();
ssp.setDescription(p.getDescription());
<BUG>ssp.setFarm(p.getFarm());
ssp.setPhotosetId(p.getPhotosetId());</BUG>
ssp.setPhotos(p.getPhotos());
ssp.setVideos(p.getVideos());
ssp.setPrimary(p.getPrimary());

" \"" + p.getTitle() + "\"");
SSPhotoset ssp = PhotosetDAO.getPhotosetForId(p.getPhotosetId());
if (ssp == null) {
ssp = new SSPhotoset();
ssp.setDescription(p.getDescription());
ssp.setFarm(Integer.parseInt(p.getFarm()));
ssp.setPhotosetId(p.getPhotosetId());
ssp.setPhotos(p.getPhotos());
ssp.setVideos(p.getVideos());
ssp.setPrimary(p.getPrimary());
