aimeos / ai-admin-jqadm

Aimeos e-commerce Vue.js+Bootstrap based admin interface
https://aimeos.org
GNU Lesser General Public License v3.0
184 stars 43 forks source link

Service tab is empty after "composer update" #191

Closed akropivko closed 3 years ago

akropivko commented 3 years ago

Environment

  1. Version (e.g. 2020.10)
  2. Integration (Laravel)
  3. System (Windows)

Describe the bug I've update composer via "composer update" command and Service tab is empty now, see animated gif sevices

aimeos commented 3 years ago

Can you please post the output of composer show?

akropivko commented 3 years ago

Sure! see compshow.txt compshow.txt

And if you need the previous one (everything's ok) - compshow_before.txt compshow_before.txt

aimeos commented 3 years ago

This is the case when a JS error occurs in the Vue template. Before, this has occured most often by a value that contains a newline character within a simple JS string ('\n'). We have fixed that in the latest version but there seems to be something elso now.

To debug, you have to install the Vue Devtools (Chrome and Firefox only) and change the ./vendor/aimeos/aimeos-laravel/src/views/jqadm/index.blade.php file by removing the .min from

<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.12/vue.min.js"></script>

Then, the browser console will show the errors from the Vue templates.

akropivko commented 3 years ago

thanks!

akropivko commented 3 years ago

Sorry, but there is no such line there (...vue/2.6.12/vue.min.js), see attach. index.blade.zip

Also Vue.js not detected by default Screenshot_18

aimeos commented 3 years ago

It's included here: https://github.com/aimeos/aimeos-laravel/blob/2020.10/src/views/jqadm/index.blade.php#L28

akropivko commented 3 years ago

ok, here is the log from console (see below). please let me know if you need something else 127.0.0.1-1621504208297.log

akropivko commented 3 years ago

It seems I've solved the issue. The problem was with ' symbol in service label. Removing it from db row solves the problem. I'm not sure if you need to do something with this. Anyway, thanks a lot for your help!

aimeos commented 3 years ago

The problem with backticks is now solved in dev-master, 2021.04.x-dev and 2020.10.x-dev. Can you execute

composer req aimeos/aimeos-core:2020.10.x-dev

and check if it works for you too?

akropivko commented 3 years ago

Sure. It works for ' but it still doesn't work for ` Screenshot_20

aimeos commented 3 years ago

Please check if you have the latest version (commit: 48f4ba97bb5fb60134338be7d25645d65d3483bf)

akropivko commented 3 years ago

Sorry again. But NO, it doesn't work on that page. The version is the same

Screenshot_21

aimeos commented 3 years ago

OK, now it's fixed in aimeos/aimeos-core:2020.10.x-dev (commit: 7de37b79bbe449597b6fbcfe445ff40363e5db51)

akropivko commented 3 years ago

Thanks!