[Fusionforge-commits] r12089 - trunk/src/plugins/oslc/include/oslc-zend/application/controllers

Sabri LABBENE labbenes at libremir.placard.fr.eu.org
Thu Jan 27 15:21:05 CET 2011


Author: labbenes
Date: 2011-01-27 15:21:05 +0100 (Thu, 27 Jan 2011)
New Revision: 12089

Modified:
   trunk/src/plugins/oslc/include/oslc-zend/application/controllers/FusionForgeOSLCConnector.php
Log:
No more heliosbt for status filed. We use oslc_cm:status instead.

Modified: trunk/src/plugins/oslc/include/oslc-zend/application/controllers/FusionForgeOSLCConnector.php
===================================================================
--- trunk/src/plugins/oslc/include/oslc-zend/application/controllers/FusionForgeOSLCConnector.php	2011-01-27 14:20:04 UTC (rev 12088)
+++ trunk/src/plugins/oslc/include/oslc-zend/application/controllers/FusionForgeOSLCConnector.php	2011-01-27 14:21:05 UTC (rev 12089)
@@ -158,7 +158,7 @@
 							if (array_key_exists($term[2],self::$status_arr))	{
 								$query['status'] = self::$status_arr[$term[2]];
 							}else	{
-								throw new BadRequestException('Invalid heliosbt:status value specified!');
+								throw new BadRequestException('Invalid oslc_cm:status value specified!');
 							}
 							break;
 						case 'helios_bt:assigned_to':
@@ -168,7 +168,7 @@
 								throw new BadRequestException("Invalid helios_bt:assigned_to: " . $term[2]); 
 							}
 							break;
-						default:  throw new BadRequestException("Invalid attribute ".$term[1]." specified in oslc_where! only heliosbt:status|assigned_to are accepted.");
+						default:  throw new BadRequestException("Invalid attribute ".$term[1]." specified in oslc_where! only oslc_cm:status|assigned_to are accepted.");
 						break;
 					}
 				}




More information about the Fusionforge-commits mailing list