Details
-
Bug
-
Resolution: Fixed
-
Minor
-
COmanage Registry 4.0.2 (Purple Jade MR2)
-
None
-
Docker Container, Postgres db, v4.0.x latest dev branch
Description
Error when duplicating existing CO:
Warning (2): Illegal offset type [APP/Model/Co.php, line 395] |
|
Co::duplicate() - APP/Model/Co.php, line 395 |
CosController::duplicate() - APP/Controller/CosController.php, line 176 |
ReflectionMethod::invokeArgs() - [internal], line ??
|
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499 |
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 |
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 |
[main] - APP/webroot/index.php, line 96 |
Code:
$m = ClassRegistry::init($p . "." . $p); |
|
$plugins[$m->cmPluginType][$p] = $m;
|
Context:
$id = '17' |
$idmap = array(
|
'Co' => array( |
(int) 17 => '24' |
),
|
'Cou' => array( |
(int) 97 => '186', |
(int) 100 => '187', |
(int) 101 => '188', |
(int) 102 => '189', |
(int) 103 => '190', |
(int) 104 => '191', |
(int) 105 => '192', |
(int) 106 => '193', |
(int) 107 => '194', |
(int) 108 => '195', |
(int) 109 => '196', |
(int) 110 => '197', |
(int) 111 => '198', |
(int) 112 => '199', |
(int) 113 => '200', |
(int) 114 => '201', |
(int) 115 => '202', |
(int) 116 => '203', |
(int) 117 => '204', |
(int) 118 => '205', |
(int) 119 => '206', |
(int) 120 => '207', |
(int) 121 => '208', |
(int) 122 => '209', |
(int) 123 => '210', |
(int) 124 => '211', |
(int) 125 => '212', |
(int) 126 => '213', |
(int) 127 => '214', |
(int) 128 => '215', |
(int) 129 => '216', |
(int) 130 => '217', |
(int) 131 => '218', |
(int) 132 => '219', |
(int) 133 => '220', |
(int) 134 => '221', |
(int) 135 => '222' |
),
|
'CoGroup' => array( |
(int) 330 => '667', |
(int) 334 => '668', |
(int) 335 => '669', |
(int) 336 => '670', |
(int) 329 => '671', |
(int) 343 => '672', |
(int) 344 => '673', |
(int) 345 => '674', |
(int) 346 => '675', |
(int) 347 => '676', |
(int) 348 => '677', |
(int) 349 => '678', |
(int) 350 => '679', |
(int) 351 => '680', |
(int) 352 => '681', |
(int) 353 => '682', |
(int) 354 => '683', |
(int) 355 => '684', |
(int) 356 => '685', |
(int) 357 => '686', |
(int) 358 => '687', |
(int) 359 => '688', |
(int) 360 => '689', |
(int) 361 => '690', |
(int) 362 => '691', |
(int) 363 => '692', |
(int) 364 => '693', |
(int) 365 => '694', |
(int) 366 => '695', |
(int) 367 => '696', |
(int) 368 => '697', |
(int) 369 => '698', |
(int) 370 => '699', |
(int) 371 => '700', |
(int) 372 => '701', |
(int) 373 => '702', |
(int) 374 => '703', |
(int) 375 => '704', |
(int) 376 => '705', |
(int) 377 => '706', |
(int) 378 => '707', |
(int) 379 => '708', |
(int) 380 => '709', |
(int) 381 => '710', |
(int) 382 => '711', |
(int) 383 => '712', |
(int) 384 => '713', |
(int) 385 => '714', |
(int) 386 => '715', |
(int) 387 => '716', |
(int) 388 => '717', |
(int) 389 => '718', |
(int) 390 => '719', |
(int) 391 => '720', |
(int) 392 => '721', |
(int) 393 => '722', |
(int) 394 => '723', |
(int) 395 => '724', |
(int) 396 => '725', |
(int) 397 => '726', |
(int) 398 => '727', |
(int) 399 => '728', |
(int) 400 => '729', |
(int) 401 => '730', |
(int) 402 => '731', |
(int) 403 => '732', |
(int) 404 => '733', |
(int) 405 => '734', |
(int) 406 => '735', |
(int) 407 => '736', |
(int) 408 => '737', |
(int) 409 => '738', |
(int) 410 => '739', |
(int) 411 => '740', |
(int) 412 => '741', |
(int) 413 => '742', |
(int) 414 => '743', |
(int) 415 => '744', |
(int) 416 => '745', |
(int) 417 => '746', |
(int) 418 => '747', |
(int) 419 => '748', |
(int) 420 => '749', |
(int) 421 => '750', |
(int) 422 => '751', |
(int) 423 => '752', |
(int) 424 => '753', |
(int) 425 => '754', |
(int) 426 => '755', |
(int) 427 => '756', |
(int) 428 => '757', |
(int) 429 => '758', |
(int) 430 => '759', |
(int) 431 => '760', |
(int) 432 => '761', |
(int) 433 => '762', |
(int) 434 => '763', |
(int) 435 => '764', |
(int) 436 => '765', |
(int) 437 => '766', |
(int) 438 => '767', |
(int) 439 => '768', |
(int) 440 => '769', |
(int) 441 => '770', |
(int) 442 => '771', |
(int) 443 => '772', |
(int) 444 => '773', |
(int) 445 => '774', |
(int) 446 => '775', |
(int) 447 => '776', |
(int) 448 => '777', |
(int) 449 => '778', |
(int) 450 => '779', |
(int) 328 => '780' |
),
|
'CoExtendedType' => array( |
(int) 210 => '618', |
(int) 211 => '619', |
(int) 212 => '620', |
(int) 213 => '621', |
(int) 214 => '622', |
(int) 215 => '623', |
(int) 216 => '624', |
(int) 217 => '625', |
(int) 218 => '626', |
(int) 219 => '627', |
(int) 220 => '628', |
(int) 221 => '629', |
(int) 222 => '630', |
(int) 223 => '631', |
(int) 224 => '632', |
(int) 225 => '633', |
(int) 226 => '634', |
(int) 227 => '635', |
(int) 228 => '636', |
(int) 229 => '637', |
(int) 230 => '638', |
(int) 231 => '639', |
(int) 232 => '640', |
(int) 233 => '641', |
(int) 234 => '642', |
(int) 235 => '643', |
(int) 236 => '644', |
(int) 237 => '645', |
(int) 238 => '646', |
(int) 239 => '647', |
(int) 240 => '648', |
(int) 241 => '649', |
(int) 242 => '650', |
(int) 243 => '651', |
(int) 244 => '652', |
(int) 245 => '653', |
(int) 246 => '654', |
(int) 247 => '655', |
(int) 248 => '656', |
(int) 249 => '657', |
(int) 250 => '658', |
(int) 251 => '659', |
(int) 252 => '660', |
(int) 253 => '661', |
(int) 254 => '662', |
(int) 255 => '663', |
(int) 256 => '664', |
(int) 257 => '665', |
(int) 258 => '666', |
(int) 259 => '667', |
(int) 260 => '668', |
(int) 261 => '669', |
(int) 262 => '670', |
(int) 263 => '671', |
(int) 264 => '672', |
(int) 265 => '673', |
(int) 266 => '674', |
(int) 267 => '675' |
),
|
'CoSetting' => array( |
(int) 6 => '9' |
)
|
)
|
$m = object(ApiSource) {
|
cmPluginType => array(
|
(int) 0 => 'orgidsource', |
(int) 1 => 'job' |
)
|
cmPluginHasMany => array()
|
cmServerType => 'KA' |
belongsTo => array(
|
'ServerKafka' => array( |
[maximum depth reached]
|
),
|
'ApiUser' => array( |
[maximum depth reached]
|
),
|
'OrgIdentitySource' => array( |
[maximum depth reached]
|
)
|
)
|
hasMany => array(
|
'ApiSourceRecord' => array( |
[maximum depth reached]
|
)
|
)
|
displayField => 'sor_label' |
actsAs => array(
|
(int) 0 => 'Containable' |
)
|
validate => array(
|
'org_identity_source_id' => array( |
[maximum depth reached]
|
),
|
'sor_label' => array( |
[maximum depth reached]
|
),
|
'api_user_id' => array( |
[maximum depth reached]
|
),
|
'kafka_server_id' => array( |
[maximum depth reached]
|
),
|
'kafka_groupid' => array( |
[maximum depth reached]
|
),
|
'kafka_topic' => array( |
[maximum depth reached]
|
)
|
)
|
useDbConfig => 'default' |
useTable => 'api_sources' |
id => false |
data => array()
|
schemaName => null |
table => 'api_sources' |
primaryKey => 'id' |
validationErrors => array()
|
validationDomain => null |
plugin => 'ApiSource' |
name => 'ApiSource' |
alias => 'ApiSource' |
tableToModel => array(
|
'api_sources' => 'ApiSource' |
)
|
cacheQueries => false |
hasOne => array()
|
hasAndBelongsToMany => array()
|
Behaviors => object(BehaviorCollection) {}
|
whitelist => array()
|
cacheSources => true |
findQueryType => null |
recursive => (int) 1 |
order => null |
virtualFields => array()
|
__backAssociation => array()
|
__backInnerAssociation => array()
|
__backOriginalAssociation => array()
|
__backContainableAssociation => array()
|
__safeUpdateMode => false |
useConsistentAfterFind => true |
findMethods => array(
|
'all' => true, |
'first' => true, |
'count' => true, |
'neighbors' => true, |
'list' => true, |
'threaded' => true |
)
|
[protected] inTxn => false |
[protected] tz => null |
[protected] _schema => null |
[protected] _associationKeys => array( |
'belongsTo' => array( |
[maximum depth reached]
|
),
|
'hasOne' => array( |
[maximum depth reached]
|
),
|
'hasMany' => array( |
[maximum depth reached]
|
),
|
'hasAndBelongsToMany' => array( |
[maximum depth reached]
|
)
|
)
|
[protected] _associations => array( |
(int) 0 => 'belongsTo', |
(int) 1 => 'hasOne', |
(int) 2 => 'hasMany', |
(int) 3 => 'hasAndBelongsToMany' |
)
|
[protected] _insertID => null |
[protected] _sourceConfigured => false |
[protected] _eventManager => null |
[protected] _validator => null |
}
|
$parentm = 'CoEnrollmentAttribute' |
$fk = 'co_enrollment_attribute_id' |
$parents = array(
|
'CoEnrollmentAttribute' => 'CoEnrollmentFlow' |
)
|
$grandparentm = 'CoEnrollmentFlow' |
$plugins = array(
|
'provisioner' => array( |
'ApiProvisioner' => object(ApiProvisioner) {} |
)
|
)
|
$p = 'ApiSource' |
Attachments
Issue Links
- is related to
-
CO-2250 Platform admin cannot duplicate a CO
- Resolved