Code Monkey home page Code Monkey logo

Comments (7)

zoglo avatar zoglo commented on May 29, 2024

@operatorone you can circument this by creating a stylemanager archive and an item and running the migration again.

I've seen this bug reappear a few times but I was not able to reproduce it.
According to @doishub it was fixed a while ago.

Could you leave more information and what exactly you did? Just a new installation?

from contao-component-style-manager.

operatorone avatar operatorone commented on May 29, 2024

I'll try your workaround.

Here is what I did: I just updated a 2.* installation in the manager by typing 3.* in the version field and ran an update. I executed the migration in the migration section afterwards. Unfortunately, the message blocks all other queries in the migration tool, so when I installed another extension I had to use the install tool (I'm happy that it's still there). I could execute my queries, but the message remains visible.

from contao-component-style-manager.

operatorone avatar operatorone commented on May 29, 2024

By "add a new archive" you meant a category? I added a new one and tried to migrate. Message is still appearing.

https://share.cleanshot.com/kjFmQcKxbxgHXNfmlk1W

from contao-component-style-manager.

zoglo avatar zoglo commented on May 29, 2024

Hey @operatorone

I've messaged you via email if you could send me a dump of your following tables

  • tl_style_manager
  • tl_style_manager_archive
  • tl_article
  • tl_content

Without those, I won't be able to reproduce the issue.

It seems as if there is some migrations that fail due to installing the StyleManager in version 3 and afterwards migrating a database dump into your installation.

from contao-component-style-manager.

operatorone avatar operatorone commented on May 29, 2024

No problem. Where to send to?

from contao-component-style-manager.

operatorone avatar operatorone commented on May 29, 2024

Ah , found your mail in the spam ;-) Will answer.

from contao-component-style-manager.

zoglo avatar zoglo commented on May 29, 2024

After research and talks with operatorone, we've found out that this issue appears cause they did migrate the StyleManager to version 3.x already and tried to import a dump with content-elements, modules, etc. that had old stylemanager options.

The right way to do it would be following:

  • use a dump that has never been migrated
  • update from v2 to v3
  • let the migration happen

I could not reproduce the issue at all.

What you could do is to either follow the correct update order or:

  • delete the stylemanager field for tl_form / tl_form_field and other affected tables

Similar issue: #91 (uninstalling style-manager)

Should be fixed in #96

from contao-component-style-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.