browse-everything icon indicating copy to clipboard operation
browse-everything copied to clipboard

Error page from box get stored as content

Open carolyncole opened this issue 8 years ago • 2 comments

When the link expires and we get an invalid page it looks like the import has run successfully for box

This error page is stored in ScholarSphere: screen shot 2016-11-11 at 8 14 16 am .

<div class="error_box">
        <a href="http://www.box.com" onmousedown="return false;"><img src="https://static.box.com/bc/error/img/logo150.png" alt="Box.com"></a>
        <div class="message">
			The link you're trying to access can't be used to share files. Please ask the file owner to provide you with a shared link instead.
			<a href="http://www.box.com/help"> Contact Box Support if you need help. </a>
        </div>
	</div>

carolyncole avatar Nov 11 '16 13:11 carolyncole

👊

jcoyne avatar Nov 11 '16 15:11 jcoyne

@cam156 the expiration time seems to be in the link header:

https://github.com/projecthydra/browse-everything/blob/master/lib/browse_everything/driver/box.rb#L41

I don't know if we're setting the expiration time, or if that's the time required by Box.

awead avatar Mar 23 '17 20:03 awead