Update TCPDF to latest version #4288

Closed
mattab opened this Issue Nov 11, 2013 · 3 comments

1 participant

@mattab
Piwik Open Source Analytics member

User reported bug in: http://forum.piwik.org/read.php?8,107402

Notice: Undefined variable: filehash in /var/www/vhosts/foxwebcreations.net/subdomains/tracking/httpdocs/libs/tcpdf/tcpdf.php on line 7421

I verified and it looks like the bug has been fixed in latest TCPDF. So let's upgrade the lib to latest.

PS: I noticed it's using composer so we could plug it our composer file...

@mattab
Piwik Open Source Analytics member

In b42e9f8: Refs #4288 Upgrading TCPDF but the tests then fail. It seems the generated PDF has some random content (after copying from Processed/ -> expected/ the test still fails)

@mattab
Piwik Open Source Analytics member

In 420d454: Fixes #4288 Remove from the PDF the metadata that changes with datetime, or that is random.This ensures that when we compare two binary PDF files together, the comparison does not take into account these random bits in the pdf files.

@mattab
Piwik Open Source Analytics member

In 750e544: Refs #4288 removes useless files

@mattab mattab added this to the 2.0 - Piwik 2.0 milestone Jul 8, 2014
@mattab mattab self-assigned this Jul 8, 2014
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@mattab mattab Refs #4288 Upgrading TCPDF but the tests then fail. It seems the gene…
…rated PDF has some random content (after copying from Processed/ -> expected/ the test still fails)
b42e9f8
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@mattab mattab Fixes #4288 Remove from the PDF the metadata that changes with dateti…
…me, or that is random.This ensures that when we compare two binary PDF files together, the comparison does not take into account these random bits in the pdf files.
420d454
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@mattab mattab Refs #4288 removes useless files 750e544
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment