Jump to content

[SOLVED] RockIcons problem with icon path after deplyment via RockMigrations


gebeer
 Share

Recommended Posts

Hi @bernhard

we are experiencing a problem with the path to the icons folder in RockIcons.

After running deployments the path changes and icons cannot be displayed anymore in the frontend because RockIcons is looking for them in a wrong path.

I suspect that the full absolute path to the icons folder is stored and used in the RockIcons module.

Now when we run a deployment, the actual folder where the icons lived before does not exist anymore because it is replaced by a new one for the new deployment. That new folder is symlinked to the "current" folder. But somehow the old folder path is still in the system.

After a modules refresh, the path is updated and icons are displayed again. That is why I opened 

  But I think it would be a cleaner solution to fix this in RockIcons.

Link to comment
Share on other sites

22 minutes ago, bernhard said:

Hey @gebeer thx for your question. Interesting that I did not experience this issue...

But I have added a check that should reset the cache if the path changes. Please try v1.3.0 https://www.baumrock.com/releases/rockicons/

Wow, that was quick. Thank you. We will update and report back here if problem is solved.

Link to comment
Share on other sites

  • gebeer changed the title to [SOLVED] RockIcons problem with icon path after deplyment via RockMigrations

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...