Skip to content

Commit 9c101b8

Browse files
committed
crm #240212-001889 ignore rims collection lacking dash
1 parent 8640239 commit 9c101b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/services/PPMSSyncService.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class PPMSSyncService (application: Application) extends Plugin {
181181
val projDesc = (projectInfo \ "Descr").as[String]
182182
var rawDataStorage = (extraProfile \ ppmsStorageField).as[String]
183183
Logger.info(">>>Syncing project: " + projName + " id=" + projId.toString)
184-
if (rawDataStorage == None || rawDataStorage.trim().isEmpty()) {
184+
if (rawDataStorage == None || rawDataStorage.trim().isEmpty() || !rawDataStorage.contains("-")) {
185185
Logger.info("Project " + projName + " has no storage defined. Ignore!!!")
186186
return
187187
}

0 commit comments

Comments
 (0)