chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérémy (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CMIS-1003) [CMIS PHP Client] Mime Type sent
Date Wed, 02 Nov 2016 11:04:58 GMT

    [ https://issues.apache.org/jira/browse/CMIS-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15628608#comment-15628608
] 

Jérémy commented on CMIS-1003:
------------------------------

On one line here :

<cmisra:mediatype>{content_type}</cmisra:mediatype>

> [CMIS PHP Client] Mime Type sent
> --------------------------------
>
>                 Key: CMIS-1003
>                 URL: https://issues.apache.org/jira/browse/CMIS-1003
>             Project: Chemistry
>          Issue Type: Bug
>          Components: cmis-phplib
>         Environment: Production
>            Reporter: Jérémy
>            Priority: Critical
>
> When you send a file to Alfresco via Chemistry CMIS PHP Client, the mime type is sent
with whitespace.
> It's in the cmis_service.php line 739.
> It should not have whitespace like this :
> /**
> 	 * @internal
> 	 */
> 	static function getContentTemplate() {
> 		ob_start();
> ?>
> 		<cmisra:content>
> 			<cmisra:mediatype>{content_type}</cmisra:mediatype>
> 			<cmisra:base64>{content}</cmisra:base64>
> 		</cmisra:content>
> <?php
> 		return ob_get_clean();
> 	}
> In the case there is white space, the full text search can not work on those document
and the mime type in the share not working.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message