Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6769145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:09:29+00:00 2026-05-26T15:09:29+00:00

[originally posted on Symfony forum but no (proper) answer has been given yet]. Has

  • 0

[originally posted on Symfony forum but no (proper) answer has been given yet].

Has anyone ever managed to put Sortable behavior using csDoctrineActAsSortablePlugin on any model having i18n fields?
Everything is installed fine but when trying to doctrine:data-load a fixtures file for the i18n model, it crashes by a MySQL integrity constraint violation about duplicate key entry.
Is special handling required for i18n models?

My plugin version is 1.5.4.1 installed on symfony 1.4.8.

Apart from this, do you know of any other solutions (plugins) for adding “moveup” “movedown” functionality in the admin generator?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:09:30+00:00Added an answer on May 26, 2026 at 3:09 pm

    I’ve found a better workaround that the one originally posted on symfony forum.

    1. In your schema.yml comment the Sortable behavior to all of your models and place an equivalent position column instead of this (this is the actual column that will be created by the plugin in the database for the specified model) with the following properties:

      position: { type: integer, notnull: false }
      
    2. Run symfony doctrine:build --all --and-load --no-confirmation. This will correctly insert all the data in the database.

    3. Restore your schema.yml and run symfony doctrine:build --all-classes --model --forms --filters. This will restore the Sortable behavior in your models without affecting your data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Note: This question has been originally posted by Lahiru Gunathilake as an answer to
This is originally posted as an answer to c++ macros with memory? But somehow
I originally posted this question on the miglayout forum and after 534 views and
We do have the LocaleChangeInterceptor configured if that helps. (Originally posted to http://forum.springsource.org/showthread.php?123391-Transition-to-set-locale )
I originally posted this question over at the Zend Forums but figured it would
Originally posted on the Grails mailing list... I'm not generally a database guy but
I originally posted this question looking for an answer with using python, got some
Note: I originally posted this on ServerFault, but I haven't gotten any responses at
I originally posted this queston on coderanch, but I didn't get responses, so I
Originally posted on Server Fault , where it was suggested this question might better

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.