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

Progress bar hangs at 100% #59

Open
maxime-rainville opened this issue Sep 13, 2023 · 2 comments
Open

Progress bar hangs at 100% #59

maxime-rainville opened this issue Sep 13, 2023 · 2 comments

Comments

@maxime-rainville
Copy link

After uploading a doc it hangs with the progress bar at 100% in firefox. Refreshing page shows loaded content.

Acceptance criteria

  • Upon completion of the upload the user is provided sensible feedback about what to do.
@emteknetnz
Copy link
Member

Different JSON is returned by the documentconverter import field vs the regular UploadField

DocumentConvert ImportField:

[
	{
		"name": "sample-word2007.docx",
		"size": 120515,
		"type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
		"error": 0
	}
]

UploadField

[
	{
		"id": 14,
		"parent": {
			"id": 1,
			"title": "Uploads",
			"filename": "Uploads/"
		},
		"title": "sample word2007 v2",
		"exists": true,
		"category": "document",
		"extension": "docx",
		"size": 120515,
		"published": false,
		"modified": true,
		"draft": true,
		"hasRestrictedAccess": false,
		"isTrackedFormUpload": false,
		"visibility": "protected",
		"thumbnail": "/_resources/vendor/silverstripe/framework/client/images/app_icons/document_92.png?m=1694731812",
		"inUseCount": 0,
		"created": "2023-09-19 11:53:39",
		"lastUpdated": "2023-09-19 11:53:39",
		"owner": {
			"id": 1,
			"title": "Default Admin"
		},
		"type": "Word document",
		"name": "sample-word2007-v2.docx",
		"filename": "Uploads/sample-word2007-v2.docx",
		"url": "http://bugfix3.test/assets/Uploads/a3c93f99f5/sample-word2007-v2.docx",
		"canEdit": true,
		"canDelete": true
	}
]

@emteknetnz
Copy link
Member

Will be resolved in #60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants