Rule to transform files to PDF fails since ACS version 7.0

cancel
Showing results for 
Search instead for 
Did you mean: 
iohann95
Active Member II

Rule to transform files to PDF fails since ACS version 7.0

 

I'm trying to create a rule to convert .csv, .txt, .html or .doc files to PDF, but I always get errors.

Falha: Transformer for 'text/html' -> 'application/pdf' with options 'autoOrient="true", timeout="-1"' was not found.

 

 

Falha: Transformer for 'application/msword' -> 'application/pdf' with options 'autoOrient="true", timeout="-1"' was not found.

 

If I try to convert to something else like JPEG it works.

That seems to affect any version since 7.0, I tested 6.2 and it works as usual.

I'm deploying using angel borry docker installer, without any customizations.

Thanks!

 

 

 

 

4 Replies
angelborroy
Alfresco Employee

Re: Rule to transform files to PDF fails since ACS version 7.0

I've been testing with alfresco-transform-core-aio:3.1.0 and it seems to be working as expected.

This version is compatible with ACS 7.0, so you can upgrade the service in your docker-compose.yml to verify it solves the issue.

transform-core-aio:
    image: alfresco/alfresco-transform-core-aio:3.1.0
Hyland Developer Evangelist
iohann95
Active Member II

Re: Rule to transform files to PDF fails since ACS version 7.0

Hi Angel!

 

Thank you very much. I changed to transform-core to version 3.1.0, but unfortunately it still doesnt work.

I really can't figure out what I'm doing wrong, because it happens even on a fresh installation with all-default options.

ErrorError

My current .env file:

# Docker Image versions
ALFRESCO_CE_TAG=7.4.0.1
SEARCH_CE_TAG=2.0.7
SHARE_TAG=7.4.0.1
ACA_TAG=4.0.0
POSTGRES_TAG=14.4
MARIADB_TAG=10.5
TRANSFORM_ENGINE_TAG=3.1.0
ACTIVEMQ_TAG=5.17.1-jre11-rockylinux8

# Server properties
SERVER_NAME=localhost

 

Deployment configs

     DOCKER COMPOSE ALFRESCO

? Which ACS version do you want to use? 7.4
? Do you want to deploy Alfresco in ARCH64 computer (like Apple Silicon)? No
? How may GB RAM are available for Alfresco (16 is minimum required)? 16
? Do you want to use HTTPs for Web Proxy? No
? What is the name of your server? localhost
? Choose the password for your admin user admin
? What HTTP port do you want to use (all the services are using the same port)? 80
? Do you want to use FTP (port 2121)? No
? Do you want to use MariaDB instead of PostgreSQL? No
? Are you using different languages (this is the most common scenario)? Yes
? Do you want to search in the content of the documents? Yes
? Would you like to use Shared Secret or HTTPs for Alfresco-SOLR communication? secret
? Do you want to use the Events service (ActiveMQ)? No
? Do you want to create an internal SMTP server? No
? Do you want to create an internal LDAP server? No
? Select the addons to be installed:
? Are you using a Windows host to run Docker? No
? Do you want to use a start script? No
? Do you want to get the script to create host volumes? No

 

It really only works fine on 6.2 or prior.

Seems that this error happens with me even with version 6.2.2.

 

Thanks...

 

 

angelborroy
Alfresco Employee

Re: Rule to transform files to PDF fails since ACS version 7.0

Can you add details on the rule configuration?

Hyland Developer Evangelist
iohann95
Active Member II

Re: Rule to transform files to PDF fails since ACS version 7.0

There's my rule configurations that don't work.

error.png

It says "transform and copy image".

 

But now I feel kinda stupid because now I see that it works if I select "transform and copy content".

I guess I was too focused in the fact that "transform and copy image" worked in 6.2. I don't know why the behavior changed. But I guess it works now... At least now if someone makes the same mistake and Google it, it will know what to do. Thank you!