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

File object missing checksum and key on concat #120

Closed
fidelix opened this issue Jan 5, 2019 · 1 comment
Closed

File object missing checksum and key on concat #120

fidelix opened this issue Jan 5, 2019 · 1 comment
Labels
Milestone

Comments

@fidelix
Copy link
Contributor

fidelix commented Jan 5, 2019

Describe the bug
The File object being inserted into the tus-server.upload.merged event is missing the upload key and the checksum.

They are defined but are never put back into the $file object:

$checksum = $this->getServerChecksum($filePath);

To Reproduce

  1. Add a listener to the tus-server.upload.merged event;
  2. Inspect $file->details() or attempt to $file->getChecksum();
  3. key and checksum are missing;

Expected behavior
The checksum and uploadKey need to be available on the merged event.

fidelix added a commit to fidelix/tus-php that referenced this issue Jan 5, 2019
Issue ankitpokhrel#120.
UploadMerged and UploadCreated events were missing either one or both of key and checksum.
fidelix added a commit to fidelix/tus-php that referenced this issue Jan 5, 2019
fidelix added a commit to fidelix/tus-php that referenced this issue Jan 5, 2019
@ankitpokhrel ankitpokhrel added defect server Tus Server and removed need to check labels Jan 6, 2019
@ankitpokhrel
Copy link
Owner

Fixed in #122

@ankitpokhrel ankitpokhrel added this to the Unreleased milestone Jan 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants