Commit b712449a77f26da677ed9e0c03dceacf78b09d57
1 parent
3fa384c0
Fixed issue with CMISSpaces folder recognition
Committed by: Paul Barrett
Showing
1 changed file
with
4 additions
and
4 deletions
webservice/atompub/cmis/KT_cmis_atom_service_helper.inc.php
| @@ -263,10 +263,10 @@ class KT_cmis_atom_service_helper { | @@ -263,10 +263,10 @@ class KT_cmis_atom_service_helper { | ||
| 263 | // NOTE KnowledgeTree currently only supports base types so these are not important at the present time. | 263 | // NOTE KnowledgeTree currently only supports base types so these are not important at the present time. |
| 264 | 264 | ||
| 265 | // links | 265 | // links |
| 266 | -// $link = $feed->newElement('link'); | ||
| 267 | -// $link->appendChild($feed->newAttr('rel','self')); | ||
| 268 | -// $link->appendChild($feed->newAttr('href', CMIS_APP_BASE_URI . $feed->workspace . '/type/' . strtolower($type['typeId']))); | ||
| 269 | -// $entry->appendChild($link); | 266 | + $link = $feed->newElement('link'); |
| 267 | + $link->appendChild($feed->newAttr('rel','self')); | ||
| 268 | + $link->appendChild($feed->newAttr('href', CMIS_APP_BASE_URI . $feed->workspace . '/type/' . strtolower($type['typeId']))); | ||
| 269 | + $entry->appendChild($link); | ||
| 270 | // TODO type link MUST point to base type | 270 | // TODO type link MUST point to base type |
| 271 | // KnowledgeTree currently only supports base types so this is not important | 271 | // KnowledgeTree currently only supports base types so this is not important |
| 272 | // at the present time as it will always point at the base type. | 272 | // at the present time as it will always point at the base type. |