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

[3.2] Asset fields with "Restrict uploads to a single folder" don't show any files. #4522

Closed
thisanimus opened this issue Jul 10, 2019 · 16 comments
Assignees

Comments

@thisanimus
Copy link

Description

If the "Restrict uploads to a single folder" option is selected for an asset field, when you try to add an asset to an entry via this asset field, no files show up in the asset modal.

Steps to reproduce

  1. Create an Asset field
  2. Configure the asset field with "Restrict uploads to a single folder"
  3. Enter a folder name that actually does exist in an Asset volume.
  4. Add the asset field to an entry type.
  5. Try to add an asset to an entry.

Additional info

  • All files show up when viewed via Assets.

  • Drag-and-drop upload via the Entry edit view does work.

  • I emptied the Craft caches, rebuilt the asset indexes hoping that would help, it did not.

  • I tried disabling benjamminf/craft-embedded-assets, that did not help either.

  • Craft version: 3.2

  • PHP version: 7.3.6

  • Database driver & version: 5.5.5

  • Plugins & versions:

"require": {
    "craftcms/cms": "3.2.0",
    "vlucas/phpdotenv": "v2.4.0",
    "craftcms/redactor": "2.3.3.2",
    "countrysidebible/craft-cbc-media": "^1.3",
    "anubarak/craft-relabel": "1.3.2",
    "craftcms/aws-s3": "1.2.3",
    "venveo/craft-bulkedit": "1.0.5",
    "benjamminf/craft-embedded-assets": "^2.0.6",
    "dolphiq/jsonclient": "^1.0",
    "sebastianlenz/linkfield": "1.0.19",
    "craftcms/feed-me": "4.1.1",
    "nystudio107/craft-cookies": "1.1.11",
    "luwes/craft3-codemirror": "1.0.1",
    "thisanimus/craft-ccb-login": "^1.0",
    "miranj/craft-obfuscator": "1.0.2",
    "aelvan/mailchimp-subscribe": "3.0.0",
    "xpertbot/craft-wheelform": "2.1.1",
    "craftcms/element-api": "2.5.4"
  },

@brandonkelly
Copy link
Member

Thanks for reporting! Just fixed this for the next release.

To get the fix early, change your craftcms/cms requirement in composer.json to:

"require": {
  "craftcms/cms": "dev-develop#35ee869d31fc34792e29807ad707b3ae0e4588d2 as 3.2.0",
  "...": "..."
}

Then run composer update.

@peimansh
Copy link

peimansh commented Nov 13, 2019

Hi!
We have recently updated from 3.1.34.3 to 3.2.10 and are experiencing the same issue !
Seems the fix is not working for us. Should we reopen this issue maybe ?!

Craft: 3.2.10
Database: PostgreSQL 11.5
PHP: 7.2.24

{
"require": {
"craftcms/cms": "3.2.10",
"vlucas/phpdotenv": "^2.4.0",
"topshelfcraft/environment-label": "3.1.5",
"verbb/super-table": "2.2.1",
"nystudio107/craft-minify": "1.2.9",
"craftcms/redactor": "2.4",
"fruitstudios/linkit": "1.1.11",
"craftcms/aws-s3": "1.2.5",
"verbb/image-resizer": "2.0.6",
"nystudio107/craft-seomatic": "3.2.28",
"rias/craft-position-fieldtype": "1.0.14",
"superbig/craft-entry-instructions": "1.0.6",
"dolphiq/redirect": "v1.0.22",
"samdark/yii2-psr-log-target": "^1.0",
"verbb/expanded-singles": "1.0.7",
"lewisjenkins/craft-dynamic-fields": "3.0.10",
"servd/craft-remote-assets": "^0.1.7",
"viget/craft-video-embed": "^1.2"
},

@andris-sevcenko
Copy link
Contributor

@peimansh You should start by updating to the latest version of Craft (3.3.15) and see if the issue persists.

@peimansh
Copy link

peimansh commented Nov 15, 2019

@andris-sevcenko I have tried this. Unfortunately it didn't work with the latest version either.
But I noticed if I just fill the required fields, and try to save the entry and come back, or press the (save and continue editing) button, then the list works fine and all the assets are shown in the modal. I can post screenshots if it's needed.

@peimansh
Copy link

Also noticed a few deprecation warnings in the panel and is coming from the SEOmatic plugin. Since i'm beginner to Craft i'm not sure if it is related to this issue, but I thought it's worth mentioning it :

330639	ElementQuery::first()	__string_template__9cee23425ffbe19c9de02fd3983aafc194dc58cf587863094d1b747d659812eb:1	2019-11-13 16:47:20	__string_template__9cee23425ffbe19c9de02fd3983aafc194dc58cf587863094d1b747d659812eb	1	The first() function used to query for elements is now deprecated. Use one() instead.	[{"objectClass":"craft\\\\services\\\\Deprecator","file":"/var/www/vendor/craftcms/cms/src/elements/db/ElementQuery.php","line":1695,"class":"craft\\\\services\\\\Deprecator","method":"log","args":"\\"ElementQuery::first()\\", \\"The first() function used to query for elements is now deprecate...\\""},{"objectClass":"craft\\\\elements\\\\db\\\\MatrixBlockQuery","file":"/var/www/vendor/twig/twig/src/Extension/CoreExtension.php","line":1485,"class":"craft\\\\elements\\\\db\\\\ElementQuery","method":"first","args":null},{"objectClass":null,"file":"/var/www/vendor/craftcms/cms/src/helpers/Template.php","line":79,"class":null,"method":"twig_get_attribute","args":"craft\\\\web\\\\twig\\\\Environment, Twig\\\\Source, craft\\\\elements\\\\db\\\\MatrixBlockQuery, \\"first\\", ..."},{"objectClass":null,"file":"/var/www/storage/runtime/compiled_templates/a6/a6c8df43951d462e86cdb651f3369a82c31c0cd0c1f3b0a2ca1f1e1040afe5f7.php","line":37,"class":"craft\\\\helpers\\\\Template","method":"attribute","args":"craft\\\\web\\\\twig\\\\Environment, Twig\\\\Source, craft\\\\elements\\\\db\\\\MatrixBlockQuery, \\"first\\", ..."},{"objectClass":"__TwigTemplate_2f747bf1135a43b89619000fd68c49289a2dcb2a2c154a809feb2052eae51b94","file":"/var/www/vendor/twig/twig/src/Template.php","line":407,"class":"__TwigTemplate_2f747bf1135a43b89619000fd68c49289a2dcb2a2c154a809feb2052eae51b94","method":"doDisplay","args":"[\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry], \\"_variables\\" => [\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry]], \\"view\\" => craft\\\\web\\\\View, \\"devMode\\" => false, ...], []"},{"objectClass":"__TwigTemplate_2f747bf1135a43b89619000fd68c49289a2dcb2a2c154a809feb2052eae51b94","file":"/var/www/vendor/craftcms/cms/src/web/twig/Template.php","line":52,"class":"Twig\\\\Template","method":"displayWithErrorHandling","args":"[\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry], \\"_variables\\" => [\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry]], \\"view\\" => craft\\\\web\\\\View, \\"devMode\\" => false, ...], []"},{"objectClass":"__TwigTemplate_2f747bf1135a43b89619000fd68c49289a2dcb2a2c154a809feb2052eae51b94","file":"/var/www/vendor/twig/twig/src/Template.php","line":380,"class":"craft\\\\web\\\\twig\\\\Template","method":"displayWithErrorHandling","args":"[\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry], \\"_variables\\" => [\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry]], \\"view\\" => craft\\\\web\\\\View, \\"devMode\\" => false, ...], []"},{"objectClass":"__TwigTemplate_2f747bf1135a43b89619000fd68c49289a2dcb2a2c154a809feb2052eae51b94","file":"/var/www/vendor/craftcms/cms/src/web/twig/Template.php","line":34,"class":"Twig\\\\Template","method":"display","args":"[\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry], \\"_variables\\" => [\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry]]], []"},{"objectClass":"__TwigTemplate_2f747bf1135a43b89619000fd68c49289a2dcb2a2c154a809feb2052eae51b94","file":"/var/www/vendor/twig/twig/src/Template.php","line":392,"class":"craft\\\\web\\\\twig\\\\Template","method":"display","args":"[\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry], \\"_variables\\" => [\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry]]]"},{"objectClass":"__TwigTemplate_2f747bf1135a43b89619000fd68c49289a2dcb2a2c154a809feb2052eae51b94","file":"/var/www/vendor/twig/twig/src/TemplateWrapper.php","line":45,"class":"Twig\\\\Template","method":"render","args":"[\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry], \\"_variables\\" => [\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry]]], []"},{"objectClass":"Twig\\\\TemplateWrapper","file":"/var/www/vendor/craftcms/cms/src/web/View.php","line":538,"class":"Twig\\\\TemplateWrapper","method":"render","args":"[\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry], \\"_variables\\" => [\\"object\\" => [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry]]]"},{"objectClass":"craft\\\\web\\\\View","file":"/var/www/vendor/nystudio107/craft-seomatic/src/helpers/MetaValue.php","line":257,"class":"craft\\\\web\\\\View","method":"renderObjectTemplate","args":"\\"{{ (_variables.entry ?? object.entry).articleHero.first().preamb...\\", [\\"seomatic\\" => nystudio107\\\\seomatic\\\\variables\\\\SeomaticVariable, \\"entry\\" => craft\\\\elements\\\\Entry]"},{"objectClass":null,"file":"/var/www/vendor/nystudio107/craft-seomatic/src/helpers/MetaValue.php","line":90,"class":"nystudio107\\\\seomatic\\\\helpers\\\\MetaValue","method":"parseMetaString","args":"\\"{entry.articleHero.first().preamble ?: entry.entriesHero.first()...\\", true, true"},{"objectClass":null,"file":"/var/www/vendor/nystudio107/craft-seomatic/src/helpers/MetaValue.php","line":133,"class":"nystudio107\\\\seomatic\\\\helpers\\\\MetaValue","method":"parseString","args":"\\"{entry.articleHero.first().preamble ?: entry.entriesHero.first()...\\", true, true, 4"},{"objectClass":null,"file":"/var/www/vendor/nystudio107/craft-seomatic/src/services/MetaContainers.php","line":599,"class":"nystudio107\\\\seomatic\\\\helpers\\\\MetaValue","method":"parseArray","args":"[\\"language\\" => null, \\"mainEntityOfPage\\" => \\"WebPage\\", \\"seoTitle\\" => \\"Vad är PSD2 och hur påverkar det dig som e-handlare?\\", \\"siteNamePosition\\" => \\"\\", ...]"},{"objectClass":"nystudio107\\\\seomatic\\\\services\\\\MetaContainers","file":"/var/www/vendor/nystudio107/craft-seomatic/src/services/MetaContainers.php","line":763,"class":"nystudio107\\\\seomatic\\\\services\\\\MetaContainers","method":"addMetaBundleToContainers","args":"nystudio107\\\\seomatic\\\\models\\\\MetaBundle"},{"objectClass":"nystudio107\\\\seomatic\\\\services\\\\MetaContainers","file":"/var/www/vendor/nystudio107/craft-seomatic/src/services/MetaContainers.php","line":215,"class":"nystudio107\\\\seomatic\\\\services\\\\MetaContainers","method":"loadContentMetaContainers","args":null},{"objectClass":"nystudio107\\\\seomatic\\\\services\\\\MetaContainers","file":null,"line":null,"class":"nystudio107\\\\seomatic\\\\services\\\\MetaContainers","method":"nystudio107\\\\seomatic\\\\services\\\\{closure}","args":"yii\\\\caching\\\\FileCache"},{"objectClass":null,"file":"/var/www/vendor/yiisoft/yii2/caching/Cache.php","line":597,"class":null,"method":"call_user_func","args":"Closure, yii\\\\caching\\\\FileCache"},{"objectClass":"yii\\\\caching\\\\FileCache","file":"/var/www/vendor/nystudio107/craft-seomatic/src/services/MetaContainers.php","line":222,"class":"yii\\\\caching\\\\Cache","method":"getOrSet","args":"\\"seomatic_metacontainer_artiklar/vad-ar-psd2-och-hur-paverkar-det...\\", Closure, null, yii\\\\caching\\\\TagDependency"},{"objectClass":"nystudio107\\\\seomatic\\\\services\\\\MetaContainers","file":"/var/www/vendor/nystudio107/craft-seomatic/src/twigextensions/SeomaticTwigExtension.php","line":53,"class":"nystudio107\\\\seomatic\\\\services\\\\MetaContainers","method":"loadMetaContainers","args":"\\"artiklar/vad-ar-psd2-och-hur-paverkar-det-dig-som-e-handlare\\", 9"},{"objectClass":"nystudio107\\\\seomatic\\\\twigextensions\\\\SeomaticTwigExtension","file":"/var/www/vendor/twig/twig/src/ExtensionSet.php","line":329,"class":"nystudio107\\\\seomatic\\\\twigextensions\\\\SeomaticTwigExtension","method":"getGlobals","args":null},{"objectClass":"Twig\\\\ExtensionSet","file":"/var/www/vendor/twig/twig/src/Environment.php","line":928,"class":"Twig\\\\ExtensionSet","method":"getGlobals","args":null},{"objectClass":"craft\\\\web\\\\twig\\\\Environment","file":"/var/www/vendor/twig/twig/src/Environment.php","line":948,"class":"Twig\\\\Environment","method":"getGlobals","args":null},{"objectClass":"craft\\\\web\\\\twig\\\\Environment","file":"/var/www/vendor/twig/twig/src/Template.php","line":380,"class":"Twig\\\\Environment","method":"mergeGlobals","args":"[\\"entry\\" => craft\\\\elements\\\\Entry, \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"__TwigTemplate_c1f92d8b97890a5ccf6ddf94f96cacdfa2331af073b96134be44265171517358","file":"/var/www/vendor/craftcms/cms/src/web/twig/Template.php","line":34,"class":"Twig\\\\Template","method":"display","args":"[\\"entry\\" => craft\\\\elements\\\\Entry, \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]], []"},{"objectClass":"__TwigTemplate_c1f92d8b97890a5ccf6ddf94f96cacdfa2331af073b96134be44265171517358","file":"/var/www/vendor/twig/twig/src/Template.php","line":392,"class":"craft\\\\web\\\\twig\\\\Template","method":"display","args":"[\\"entry\\" => craft\\\\elements\\\\Entry, \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"__TwigTemplate_c1f92d8b97890a5ccf6ddf94f96cacdfa2331af073b96134be44265171517358","file":"/var/www/vendor/twig/twig/src/TemplateWrapper.php","line":45,"class":"Twig\\\\Template","method":"render","args":"[\\"entry\\" => craft\\\\elements\\\\Entry, \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]], []"},{"objectClass":"Twig\\\\TemplateWrapper","file":"/var/www/vendor/twig/twig/src/Environment.php","line":318,"class":"Twig\\\\TemplateWrapper","method":"render","args":"[\\"entry\\" => craft\\\\elements\\\\Entry, \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"craft\\\\web\\\\twig\\\\Environment","file":"/var/www/vendor/craftcms/cms/src/web/View.php","line":344,"class":"Twig\\\\Environment","method":"render","args":"\\"routes/stories/index\\", [\\"entry\\" => craft\\\\elements\\\\Entry, \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"craft\\\\web\\\\View","file":"/var/www/vendor/craftcms/cms/src/web/View.php","line":394,"class":"craft\\\\web\\\\View","method":"renderTemplate","args":"\\"routes/stories/index\\", [\\"entry\\" => craft\\\\elements\\\\Entry, \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"craft\\\\web\\\\View","file":"/var/www/vendor/craftcms/cms/src/web/Controller.php","line":243,"class":"craft\\\\web\\\\View","method":"renderPageTemplate","args":"\\"routes/stories/index\\", [\\"entry\\" => craft\\\\elements\\\\Entry, \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"craft\\\\controllers\\\\TemplatesController","file":"/var/www/vendor/craftcms/cms/src/controllers/TemplatesController.php","line":95,"class":"craft\\\\web\\\\Controller","method":"renderTemplate","args":"\\"routes/stories/index\\", [\\"entry\\" => craft\\\\elements\\\\Entry, \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"craft\\\\controllers\\\\TemplatesController","file":null,"line":null,"class":"craft\\\\controllers\\\\TemplatesController","method":"actionRender","args":"\\"routes/stories/index\\", [\\"entry\\" => craft\\\\elements\\\\Entry, \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":null,"file":"/var/www/vendor/yiisoft/yii2/base/InlineAction.php","line":57,"class":null,"method":"call_user_func_array","args":"[craft\\\\controllers\\\\TemplatesController, \\"actionRender\\"], [\\"routes/stories/index\\", [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"yii\\\\base\\\\InlineAction","file":"/var/www/vendor/yiisoft/yii2/base/Controller.php","line":157,"class":"yii\\\\base\\\\InlineAction","method":"runWithParams","args":"[\\"template\\" => \\"routes/stories/index\\", \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"craft\\\\controllers\\\\TemplatesController","file":"/var/www/vendor/craftcms/cms/src/web/Controller.php","line":187,"class":"yii\\\\base\\\\Controller","method":"runAction","args":"\\"render\\", [\\"template\\" => \\"routes/stories/index\\", \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"craft\\\\controllers\\\\TemplatesController","file":"/var/www/vendor/yiisoft/yii2/base/Module.php","line":528,"class":"craft\\\\web\\\\Controller","method":"runAction","args":"\\"render\\", [\\"template\\" => \\"routes/stories/index\\", \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"craft\\\\web\\\\Application","file":"/var/www/vendor/craftcms/cms/src/web/Application.php","line":299,"class":"yii\\\\base\\\\Module","method":"runAction","args":"\\"templates/render\\", [\\"template\\" => \\"routes/stories/index\\", \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"craft\\\\web\\\\Application","file":"/var/www/vendor/yiisoft/yii2/web/Application.php","line":103,"class":"craft\\\\web\\\\Application","method":"runAction","args":"\\"templates/render\\", [\\"template\\" => \\"routes/stories/index\\", \\"variables\\" => [\\"entry\\" => craft\\\\elements\\\\Entry]]"},{"objectClass":"craft\\\\web\\\\Application","file":"/var/www/vendor/craftcms/cms/src/web/Application.php","line":284,"class":"yii\\\\web\\\\Application","method":"handleRequest","args":"craft\\\\web\\\\Request"},{"objectClass":"craft\\\\web\\\\Application","file":"/var/www/vendor/yiisoft/yii2/base/Application.php","line":386,"class":"craft\\\\web\\\\Application","method":"handleRequest","args":"craft\\\\web\\\\Request"},{"objectClass":"craft\\\\web\\\\Application","file":"/var/www/web/index.php","line":16,"class":"yii\\\\base\\\\Application","method":"run","args":null}]	2019-11-13 16:47:20	2019-11-13 16:47:20	0ba48383-7a5f-4030-aa02-c586e0b225a2

@andris-sevcenko
Copy link
Contributor

@peimansh The deprecation warnings are not related to this, no.

What you're seeing is the expected behavior. Your dynamic path for the Asset field probably contains at least one token that cannot be resolved until the entry itself is saved. As your other comment shows, you are referencing the site variable in the subfolder path. Until the entry is saved, it is impossible to determine to which site it belongs to, so Craft cannot resolve that path to a folder, so it displays the Temporary Upload location.

Once an entry is saved, Craft checks if it needs to move any Assets based on the dynamic folder settings.

@peimansh
Copy link

@andris-sevcenko Yea but the strange thing is that it was working completely fine before 3.2.x (3.1.34.3 I mean) and I saw nothing related to this in the changelog. That made me think maybe this is not an expected behavior.

@andris-sevcenko
Copy link
Contributor

@peimansh can you share what string you're using as your single upload directory for your Asset field?

@peimansh
Copy link

@andris-sevcenko Yes sure. That's {site.group}

@peimansh
Copy link

I have also found another bug which Craft 3.2.10 fails to update slugs and URI's when moving entries between different sections.
But I tried this in 3.3.15 and it seems working.

@brandonkelly
Copy link
Member

@peimansh Can you please post a new issue for that?

@peimansh
Copy link

peimansh commented Nov 19, 2019

I am now testing our website with 3.3.15 and the problem is solved. So I hope updating the production environment will solve our issue. But I can create a new issue for that if you want

@peimansh
Copy link

But regarding the empty asset modal, i'm still not convinced how it could be an expected behaviour !

@brandonkelly
Copy link
Member

@peimansh What is the full value of your Assets field’s subfolder setting?

@peimansh
Copy link

I am posting a screenshot so you can see the settings for the Asset field.
Screenshot 2019-11-29 at 11 10 44

And then, this is a screenshot when trying to creating an entry and adding the asset into it.
Screenshot 2019-11-29 at 11 11 16

As you see, the assets are not getting listed in the assets modal. But when I save or click "Save and continue editing", and then try to add asset, then everything backs to normal.
Screenshot 2019-11-29 at 11 11 36

@peimansh
Copy link

I have tried to debug, and i am suspecting "UID" .
It seems our elements are missing UIDs. And Save/Save and continue editing adds the missing UID and then things get back to normal. I don't know exactly if this is the case or if it is related, but I hope it helps !

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

No branches or pull requests

4 participants