Scheduled task adding assets from pop mail broken in 1.6.5

Hello,

It seems adding assets via POP mail is still broken in 1.6.5. It’s a series of errors that starts with

cloud_url.theurl doesn’t exist.

then followed by

arguments.thestruct.awsbucket doesn’t exist.

I have not tried the API to create renditions agains but I think I’m going to get the same results as before.

Razuna 1.6.5
MySQL 5.6
Storage Amazon S3

Kindly advise.

I’m not getting the "still broken"part in your message. Have you reported
this bug to us in the past?

Moreover you jump to the API to a different method (create renditions) and
assume that you get the same result “as before”. Is this related to the
mail issue?

Really confusing…

Apologies, this was reported before and I was advised to upgrade to 1.6.5 from 1.6.2

https://forums.razuna.org/#Topic/125591000000245007

Unfortunately, upgrading did not solve the problem as I’m still getting the same errors.

Here’s the thread to the other one regarding the Mail scheduled task

https://forums.razuna.org/#Topic/125591000000245001

I see. We fixed this in Razuna 1.7. We are planning to release a beta version tomorrow or this weekend. I kindly ask you to test it against 1.7 and let us know. Thanks.

Regarding email, we see that there are some issues with the email integration and the underlining engine. Therefore, we have decided to remove this feature in Razuna 1.7.

Hello,

I just also wanted to let you know that upload from server folder via scheduled task is also broken in 1.6.5. It’s the same set of errors when calling on the create rendition api and when using the mail option in scheduled task.

Hope this will also be fixed in 1.7.

Thank you.

Thanks for the heads up. We will look into it.

Harkirat

I noticed a fix in github for the FTP scheduled task

<!-- Get AWS Bucket -->
<cfinvoke component="global.cfc.settings" method="prefs_storage" returnvariable="qry_storage" />
<!-- Set bucket -->
<cfset x.awsbucket  = qry_storage.set2_aws_bucket />

I added the same lines under

 <cfelseif doit.qry_detail.sched_method EQ "mail">

and it started processing the attachments correctly.

Not sure if this is the correct solution though. Can you verify ?

It is nice that you think that we know each line within Razuna… However, I’m only a normal earthling and therefore would need some guidance :wink:

… but if it is in github and checked in then it can be normally considered a fix …

Haha Super Nitai :slight_smile: Just wanted to report that it seems to be working the last couple of days.

Ha, now we can also see the code (that wasn’t there before, hence my previous message).

Good to now that it works. Just don’t forget we have removed this feature in Razuna 1.7. Somehow people rarely used it, and when they did it didn’t perform 100% all the time. I don’t like half broken things in the code, so I’ve decided to remove it.

Thanks Nitai.

I had to put the code in pre tags so they appeared.

I actually already have a script to offload attachments to a folder on the server. I can use the other scheduled task that checks the files on a folder and import them into Razuna. When I checked last time though it had the same problem/error as mail and I have not yet checked whether this fix will fix that problem too.

As long as the scheduled task to read a folder on the server is still there on 1.7. I’ll be good.

Thanks again.

Scheduled tasks will still be there. We’ve just removed the task for picking up emails.