This project is read-only.


Content type - edit placement - loses order


  1. Create a new content type.
  2. Add 10 or so fields of different types - e.g. text/markdows, text/html, enumeration.
  3. Press 'Edit Placement' button.
  4. Drag one of the top fields and drop it towards the bottom.
  5. Press 'Save' button.
  6. Observe that all other fields have changed order.


BertrandLeRoy wrote Aug 27, 2012 at 2:22 AM

Yes, this is very easy to reproduce.

Jetski5822 wrote Sep 19, 2012 at 8:54 PM

Is this still valid as I cant replicate it.

sebastienros wrote Sep 27, 2012 at 12:15 AM

Can't repro

** Closed by sebastienros 09/26/2012 4:15PM

benjaminketron wrote Nov 9, 2012 at 2:54 AM

I was just able to reproduce with 1.6.

BertrandLeRoy wrote Nov 9, 2012 at 3:27 AM

Why did you close that as not repro?

BertrandLeRoy wrote Nov 9, 2012 at 3:37 AM

sebastienros wrote Nov 9, 2012 at 6:26 AM

I could not repro, then Nick too, so closed.

justrhysism wrote Nov 12, 2012 at 4:26 AM

I have this issue pretty much every time I try and set the placement order. It will take me 7-8 attempts to actually get the order to save in the correct order.

MatthewLee wrote Nov 19, 2012 at 2:47 AM

I am having same problems whenever I try to edit the placement.
Currently, I created a custom content type with 40 fields for a custom form, and I can not even change orders for sevral fields. I tried to set the placement info in the file using
<Match ContentType="FoundingCompany">
<Place Fields_Common_Text_Edit-S2ResidentialAddress="-"/>    

and it looks like that the setting doesn't work. I wonder what I did wrong....

sebastienros wrote Dec 11, 2012 at 9:09 PM

Will try again

sebastienros wrote Dec 11, 2012 at 9:09 PM

Even better, give me a running website which repros it

agriffard wrote Dec 14, 2012 at 12:08 PM

For example, it happens if you have at least 3 fields of the same type and I guess it would be the same if you had many parts with the same position.
It works if you save and reorder multiple times because progressively it suffixes the positions with .5, but not at the first save.

Ex with 3 input fields,
All editor positions start with 2.4 :
Field1 = 2.4
Field2 = 2.4
Field3 = 2.4

If you want to sort them descending and after multiple tries to save, you manage to have :
Field3 = 2.4
Field2 = 2.4.5
Field1 =

CSADNT wrote Dec 14, 2012 at 7:51 PM

Unable to follow it in debugger when you have more than 20 fields but I discovered that the settings column in DB, with a kind of xml placement file, is missing some of the fields fields of my custom type as for exemple captcha.

joshby wrote Feb 2, 2013 at 4:08 PM

I'm running into the same issue on 1.6.

joshby wrote Feb 2, 2013 at 4:16 PM

As a workaround, I've found that moving only one field at a time and saving each time is the easiest way to get the results I'm looking for.

lizard0101 wrote May 13, 2013 at 8:29 PM

Dear Orchard Masters,

I'm facing the same issue with Orchard 1.6 stable unfortunately ( with Theme "Responsive Theme Machine")
Description for reproduction:
  1. Create new content part "Communication"
    Phone 1 (Media Picker Field)
    Phone 1 Description (Text Field)
    Phone 1 Number (Text Field)
    Phone 1 Languages (Text Field)
2.Create new content part "Address"
Country (Enumeration Field)
City (Text Field)
Name (Text Field)
District (Text Field)
Post Code (Text Field)
Street/other type (Text Field)
House Number (Text Field)
Building (Text Field)
Floor (Text Field)
Room (Text Field)
P.O. Box (Text Field)
P.O. Box City (Text Field)
P.O. Box Post Code (Text Field)
Time Zone (Enumeration Field)
  1. Create Content Type: "Company" including the following content parts
    Publish Later
After that push "Edit placement" button when editing Content type "Company".
When trying to change placement with Drag&drop, I could observe the following problems:
  1. When moving more than one field without save operation, then the placement loses the order builded manually with drag&drop.
  2. Not all my fields are shown on the edit placement page(tryed with firefox and chrome)
Please investigate this issue.
If you cannot reproduce the problem, I can provide you a test environment.
In case test environment is needed, then please tell me your requirements regarding the setup.

Thanks in Advance

sebastienros wrote May 16, 2013 at 7:42 PM


sebastienros wrote May 16, 2013 at 8:12 PM

Fixed in changeset 45ebd482eb13

lizard0101 wrote May 16, 2013 at 9:46 PM

Thank you!
Solution after 30 min of reproduction of the issue, that's great :)!
I think you knew where to put the break-point :D.
Good bye & thanks again

lizard0101 wrote May 20, 2013 at 9:05 PM


I merged your changes with the EditPlacement.cshtml on the server, and restarted it.
I could successfully use the Edit Placemet feature until I've added new fields to the Content Part "Communication "and started to reorganize them.
Here are the fields added and the operations I did below.

The fields added
Phone 2 Icon (Media Picker Field)
Phone 2 Description (Text Field)
Phone 2 Number (Text Field)
Phone 2 Languages (Text Field)
Phone 3 Icon (Media Picker Field)
Phone 3 Description (Text Field)
Phone 3 Number (Text Field)
Phone 3 Languages (Text Field)
Fax 1 Icon (Media Picker Field)
Fax 1 Descriptions (Text Field)
Fax 1 Number (Text Field)
Fax 2 Icon (Media Picker Field)
Fax 2 Description (Text Field)
Fax 2 Number (Text Field)
Email 1 Icon (Media Picker Field)
Email 1 Description (Text Field)
Email 1 Address (Text Field)
Email 1 Languages (Text Field)
Email 2 Icon (Media Picker Field)
Email 2 Description (Text Field)
Email 2 Address (Text Field)
Email 2 Languages (Text Field)
Email 3 Icon (Media Picker Field)
Email 3 Description (Text Field)
Email 3 Address (Text Field)
Email 3 Languages (Text Field)
Communication - Other (Text Field)

The Drag&Drops I did:
I started to Drag from bottom the fields added newly of Content Part "Communication" & Drop them to an upper position next after the existing
Phone 1 Languages (Text Field)
field, in the order you can see above.
That was working I could descrease their sequence number keeping the desired order.
After that I Dragged the content parts "Parts_Owner_Edit", "Parts_Tags_Edit" etc. and dragged them to the last position.
This was the first action where a part were moved not up but down. After each down move, I saved the Placement.
After that any reorganisation was unsuccessful(Up/Down), with Save after each move.
If you could, please tell me a workaround until this issue is solved, it would be great. If the sequence number is stored in the database in one of the tables regarding the Content types, please let me know which table/field cotains it. I would solve this issue first such way instead of using my own file.
If you could give me some hints/link, how to debug orchard on windows server, then I will gladly help you to investigate this issue(What I know is to switch in Web.Config the debugging on).
If the built in "Edit Placement" feature edits a placement information file on the file system, then please let me know where it is.
Thanks in advance.

nschott wrote May 24, 2013 at 4:33 PM

The positions are stored in the table: Settings_ContentTypeDefinitionRecord.

I'm also running 1.6 and having this issue. I haven't done any debugging or even looked into the function for moving the fields. But if you move the position of a field you'll see the string of placement settings get added in the settings column on that table.

nschott wrote May 24, 2013 at 5:50 PM

Don't know how I missed the above changeset fix but that worked for my 1.6 installation.

sebastienros wrote May 24, 2013 at 6:08 PM

Reopening based on lizard0101's comment

lizard0101 wrote Jun 2, 2013 at 10:59 AM

Hi Sebastien,

I had the possibility to recreate these content parts and types. I do not face this issue anymore.
You can close this Issue.
Thanks & kind regards
Attila Berencsi

sfmskywalker wrote Mar 28, 2014 at 1:28 AM

Fixed in changeset ed4d04b904eaba3821be2661d7ab6accc037c00d