#1293 Fix Upload TypeError #10877
Merged 2 years ago by kevin. Opened 2 years ago by phsmoura.
fedora-infra/ phsmoura/ansible main  into  main

@@ -264,7 +264,7 @@ 

      "size" => $image->getLocalFile()->size,               //in bytes, e.g. 2412586

      "user_id" => $image->getLocalFile()->getUser('id'),            // int userId

      "user_text" => $image->getLocalFile()->getUser('text'),     // the username

-     "description" => $image->getLocalFile()->getDescriptionText(),

+     "description" => $image->getLocalFile()->getDescriptionText(new Language()),

      "url" => $image->getLocalFile()->url,                 // gives the relavive url for direct access of the uploaded media

    );

  

Build succeeded.

rebased onto d3b4521

2 years ago

Awesome. Great detective work!

Would you like to run the playbook for this or would you like me to?

Pull-Request has been merged by kevin

2 years ago

Build succeeded.

Metadata