File | Created | Size | |
---|---|---|---|
{{ currentFile.file_path }} | {{ currentFile.created_at }} | {{ currentFile.filesize }} |
Closed rodeff closed 5 years ago
Can you provide screenshots? Also please provide a screenshot of your browser’s debug console - and if you could see if this happens in multiple browsers? Was there anything in your storage/logs?
Hi, Just downloaded Mozilla Firefox, it works well with it, but with IE it doesn't. As IE is the default browser for our company, I can't use Firefox. Storage/logs/laravel.log has nothing related to this.
Here is the browser debug: <!DOCTYPE html>
File | Created | Size | |
---|---|---|---|
{{ currentFile.file_path }} | {{ currentFile.created_at }} | {{ currentFile.filesize }} |
And here is the screenshot:
That’s the source code, not the browser debug console.
Ahahahahahhha, you are so right. I must have been sleeping and not thinking what I was doing 😀 Here is the log.
Hello :) I had the same problem.
I found that it is the template tag in the import.blade.php file which generates an error because it is in a tbody tag.
I solve this problem by :
This is my modifications (import.blade.php line 63):
<tbody>
<tr v-for="currentFile in files">
<td>@{{ currentFile.file_path }}</td>
<td>@{{ currentFile.created_at }} </td>
<td>@{{ currentFile.filesize }}</td>
<td>
<button class="btn btn-sm btn-info" @click="toggleEvent(currentFile.id)">Process</button>
<button class="btn btn-sm btn-danger" @click="deleteFile(currentFile)"><i class="fa fa-trash icon-white"></i></button>
</td>
<td>
<import-file
:key="currentFile.id"
:file="currentFile"
:custom-fields="customFields"
@alert="updateAlert(alert)">
</import-file>
</td>
</tr>
</tbody>
And this is the result on the screen :
However, when we click on the delete button, there is the error "Object doesn't support property or method 'assign' ". It seems that this method comes from the Ziggy package. I don't know how to solve this problem. Does anyone have an idea ?
@dmeltzer have you had a chance to look at this?
I have the same problem.
@dmeltzer have you found a solve for this one yet?
@dmeltzer I know you probably haven't had a chance to look at this, but any chance you'll be able to?
I am seeing this issue on current develop
branch, testing IE:
(IE 11.253....)
From the console output:
"'currentFile'" is undefined
This fix is now on develop and will be in the next major release
Expected Behavior (or desired behavior if a feature request) When you open the import page should have fields that let you import file.
Actual Behavior Currently */import page is blank. Just background :)
Please confirm you have done the following before posting your bug report:
I have enabled debug mode - no errors displayed. I have read checked the Common Issues page - yes and couldn't fine anything related to this issue.
Provide answers to these questions: •Is this a fresh install or an upgrade? Upgrade and New - I have two instances. •Version of Snipe-IT you're running - v4.1.10 build 3249 (g8d3a214) •Version of PHP you're running - 7.1.9 •Version of MySQL/MariaDB you're running - MariaDB 10.0 •What OS and web server you're running Snipe-IT on - Windows 2016 •What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) - GIT •WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error - No error •What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error - */import •If a stacktrace is provided in the error, include that too. •Any errors that appear in your browser's error console. - n/a •Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo. - Yes, but also gives this: DEMO MODE: Some features are disabled for this installation. •Include any additional information you can find in storage/logs and your webserver's logs. •Include what you've done so far in the installation, and if you got any error messages along the way. •Indicate whether or not you've manually edited any data directly in the database - Yes, but long time ago and not modifying the locations.
Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.
https://snipe-it.readme.io/docs/getting-help