Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TestLinkExampleGenericApi.py #167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions example/TestLinkExampleGenericApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,9 +474,10 @@ def checkUser(name1, name2):

#FIXME: know 1.9.20_fixed issue
# testlink.testlinkerrors.TLResponseError: 6002: (uploadExecutionAttachment) - Error inserting attachment on DB
#
# E_WARNING base64_decode() expects parameter 1 to be string, array given
# - in /var/www/html/lib/api/xmlrpc/v1/xmlrpc.class.php - Line 5834
# Fixed ! This issue it not really a bug but a lack of error message TestLink side not correctly raised !
# This come from configuration $tlCfg->attachments->allowed_files = 'doc,xls,gif,png,jpg';
# If you trying to upload a file with an not granted extention !
# So check config.inc.php is correct and with that version currently (Oct 2024) this work !
#
# # add this python file as Attachemnt to last execution of TC_B with
# # different filename 'MyPyExampleApiGeneric.py'
Expand Down