You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on this it seems that if you load an existing product that doesn't have a logo, it will never have its loadStatus set to loaded. This explains why the rename button doesn't appear for the TCEI product (which we previously thought was a race condition relating to large products) since it appears only once the product has been set to loaded.
Environment
Browser (if applicable): Any
Steps to reproduce
Create a product with no logo and save it.
Go back to the home page and click Load an existing product and load your new Storylines product.
Notice that once everything loads, the rename button doesn't appear under the UUID input.
Now, add a logo and press Save.
Once again, go back to the home page and click Load an existing product and load the product one more time.
Notice that the rename button now appears.
Expected behavior
When loading a product, the load status should always be set to loaded.
Actual behavior
The load status will only be set to loaded if the product has a logo.
The text was updated successfully, but these errors were encountered:
Description
Discovered this issue while testing Gordon's metadata PR.
In
loadConfig
, which gets called when you enter a UUID and clickLoad
, we have the following code block:loadConfig
also callsuseConfig
, which has the following code block:Based on this it seems that if you load an existing product that doesn't have a logo, it will never have its
loadStatus
set toloaded
. This explains why the rename button doesn't appear for the TCEI product (which we previously thought was a race condition relating to large products) since it appears only once the product has been set to loaded.Environment
Steps to reproduce
Load an existing product
and load your new Storylines product.Load an existing product
and load the product one more time.Expected behavior
When loading a product, the load status should always be set to loaded.
Actual behavior
The load status will only be set to loaded if the product has a logo.
The text was updated successfully, but these errors were encountered: