Saving relationship order

classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

Saving relationship order

Arjen
Hi,

Is it just me or does the admin portal not save the order of related items?
I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

Any ideas how I can fix this?
I tried different browsers, and different machine, but to no avail.
dotcms 4.1.1

Thanks
Arjen

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: Saving relationship order

Henry Versemann

Thanks.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 8:57 AM
To: dotCMS User Group <[hidden email]>
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/BLUPR0501MB1700FED83D3A9194905CBAB8AD970%40BLUPR0501MB1700.namprd05.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: Saving relationship order

Nathan Keiter
In reply to this post by Arjen

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/b40cfe88ee7b4ba28a81eca7239a48c5%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Saving relationship order

Arjen
Thanks for confirming Nathan, at least I can stop scratching my head.
You wouldn't happen to have a different method of setting the order, do you?

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

Thanks
Arjen



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="zBtrajuRCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@... [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="zBtrajuRCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="zBtrajuRCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dotcms+un...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="zBtrajuRCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@....
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: Saving relationship order

Nathan Keiter

If possible, write your code in a way that‘s not order dependent?

 

Or fetch the related content and manually re-order it before using it?

 

It’s more of an annoyance for us, we don’t have anything dependent on the order right now.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:19 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: <a href="javascript:" target="_blank">dot...@... [mailto:<a href="javascript:" target="_blank">dot...@...] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank">dotcms+un...@....
To post to this group, send email to <a href="javascript:" target="_blank">dot...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d47e71b1c7ab4e2c93086fd80946c31b%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Saving relationship order

wezell1
In reply to this post by Arjen
The UI should set the order of the related content objects.  Can you reproduce on the demo site?

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:
Thanks for confirming Nathan, at least I can stop scratching my head.
You wouldn't happen to have a different method of setting the order, do you?

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

Thanks
Arjen



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: <a href="tel:(717)%20337-6993" value="+17173376993" target="_blank">717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]m] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--



3059 Grand Avenue
Suite 410-B
Miami FL 33133
Main: 
305-900-2001 | Direct: 978.294.9429

   

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAPL0VyEufjHSUGecr5JXQsbx29A%2BZWKHuoc0HRiUCNJCkBQyDw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Saving relationship order

Arjen
Interesting Will, the demo site does appear to work ok but mine consistently doesn't.
I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

Thanks
Arjen


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:
The UI should set the order of the related content objects.  Can you reproduce on the demo site?

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="MudwPCGSCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">schip...@...> wrote:
Thanks for confirming Nathan, at least I can stop scratching my head.
You wouldn't happen to have a different method of setting the order, do you?

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

Thanks
Arjen



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="MudwPCGSCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dotcms+un...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="MudwPCGSCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@....
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--



3059 Grand Avenue
Suite 410-B
Miami FL 33133
Main: 
305-900-2001 | Direct: 978.294.9429

<a href="javascript:" target="_blank" gdf-obfuscated-mailto="MudwPCGSCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">wi...@... | <a href="http://www.dotcms.com/" style="color:rgb(17,85,204)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;">dotcms.com

<a href="https://twitter.com/dotcms" style="color:rgb(17,85,204)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;"> <a href="http://www.linkedin.com/company/dotcms" style="color:rgb(17,85,204)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;"> <a href="https://plus.google.com/+Dotcms" style="color:rgb(17,85,204)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;" onclick="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;"> <a href="https://www.facebook.com/dotCMS" style="color:rgb(17,85,204);font-family:verdana,sans-serif;font-size:x-small" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;">

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Saving relationship order

Jason Tesser-2
do you have any plugins that use hooks or might effect how content saves?

On Wed, Sep 6, 2017 at 10:37 AM Arjen <[hidden email]> wrote:
Interesting Will, the demo site does appear to work ok but mine consistently doesn't.
I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

Thanks
Arjen


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:
The UI should set the order of the related content objects.  Can you reproduce on the demo site?
On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:
Thanks for confirming Nathan, at least I can stop scratching my head.
You wouldn't happen to have a different method of setting the order, do you?

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

Thanks
Arjen



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].



--



3059 Grand Avenue
Suite 410-B
Miami FL 33133
Main: 
305-900-2001 | Direct: 978.294.9429

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GM-D6%3DsU_9YGan%3DYmUbTt8c8QAnaPBzticP1xDZuS6utw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: Saving relationship order

Nathan Keiter
In reply to this post by Arjen

Well that’s good news then.  I have yet to upgrade our DEV site to the latest 4.x patch level.  I’ll compare that to all the bug reports, support tickets, and GIThub issues, I’ve created and see what was fixed when I do.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:37 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Interesting Will, the demo site does appear to work ok but mine consistently doesn't.

I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

 

Thanks

Arjen

 


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:

The UI should set the order of the related content objects.  Can you reproduce on the demo site?

 

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <<a href="javascript:" target="_blank">schip...@...> wrote:

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank">dotcms+un...@....
To post to this group, send email to <a href="javascript:" target="_blank">dot...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



 

--

 

 

3059 Grand Avenue

Suite 410-B

Miami FL 33133

Main: 305-900-2001 | Direct: 978.294.9429


<a href="javascript:" target="_blank">wi...@... | dotcms.com

 

   

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cac39e59833842a487285cec9221bc47%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Saving relationship order

Arjen
@LORDs_diakonos - No, it's pretty much a default system with a few custom objects and one plugin (my own) that creates a bespoke REST API.


@Will Ezel - I think I can get mine to save the order as long as the relationship is many-to-many. As soon as I set it to one-to-many it stops saving.
Ive only been able to test it briefly, but would you be able to confirm this?

Thanks
Arjen



On Wednesday, September 6, 2017 at 3:42:44 PM UTC+1, Nathan Keiter wrote:

Well that’s good news then.  I have yet to upgrade our DEV site to the latest 4.x patch level.  I’ll compare that to all the bug reports, support tickets, and GIThub issues, I’ve created and see what was fixed when I do.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="gekCRiGTCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@... [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="gekCRiGTCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:37 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Interesting Will, the demo site does appear to work ok but mine consistently doesn't.

I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

 

Thanks

Arjen

 


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:

The UI should set the order of the related content objects.  Can you reproduce on the demo site?

 

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.



 

--

 

 

3059 Grand Avenue

Suite 410-B

Miami FL 33133

Main: 305-900-2001 | Direct: 978.294.9429


[hidden email] | <a href="http://www.dotcms.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;">dotcms.com

 

<a href="https://twitter.com/dotcms" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;"> <a href="http://www.linkedin.com/company/dotcms" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;"> <a href="https://plus.google.com/+Dotcms" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;" onclick="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;"> <a href="https://www.facebook.com/dotCMS" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;">

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="gekCRiGTCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dotcms+un...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="gekCRiGTCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@....
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: Saving relationship order

Nathan Keiter

@Arjen Can you replicate the “many-to-many vs. other” in demo?

 

If so, a screencast of the demo site is often the fastest way to get results.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:51 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

@LORDs_diakonos - No, it's pretty much a default system with a few custom objects and one plugin (my own) that creates a bespoke REST API.

 

 

@Will Ezel - I think I can get mine to save the order as long as the relationship is many-to-many. As soon as I set it to one-to-many it stops saving.

Ive only been able to test it briefly, but would you be able to confirm this?

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:42:44 PM UTC+1, Nathan Keiter wrote:

Well that’s good news then.  I have yet to upgrade our DEV site to the latest 4.x patch level.  I’ll compare that to all the bug reports, support tickets, and GIThub issues, I’ve created and see what was fixed when I do.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: <a href="javascript:" target="_blank">dot...@... [mailto:<a href="javascript:" target="_blank">dot...@...] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:37 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Interesting Will, the demo site does appear to work ok but mine consistently doesn't.

I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

 

Thanks

Arjen

 


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:

The UI should set the order of the related content objects.  Can you reproduce on the demo site?

 

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



 

--

 

 

3059 Grand Avenue

Suite 410-B

Miami FL 33133

Main: 305-900-2001 | Direct: 978.294.9429

 

   

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank">dotcms+un...@....
To post to this group, send email to <a href="javascript:" target="_blank">dot...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/e918490e84f245cba2b8f65f81da2b20%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Saving relationship order

Arjen
Hi Nathan,

Thanks, I was already testing that but yes it does appear to be replicateable in the demo system.

I just added a new object "Object A" with one text property.
I then added a one-to-many relationship between a landing page and object a (LandingPage-Objecta).
I then tried to re-order them by dragging but that doesn't work, just like on my system.

I'll try to make a screen recording but I'm not very good at that so may take a while.

Arjen


On Wednesday, September 6, 2017 at 4:12:18 PM UTC+1, Nathan Keiter wrote:

@Arjen Can you replicate the “many-to-many vs. other” in demo?

 

If so, a screencast of the demo site is often the fastest way to get results.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="KN18UL6UCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@... [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="KN18UL6UCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:51 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

@LORDs_diakonos - No, it's pretty much a default system with a few custom objects and one plugin (my own) that creates a bespoke REST API.

 

 

@Will Ezel - I think I can get mine to save the order as long as the relationship is many-to-many. As soon as I set it to one-to-many it stops saving.

Ive only been able to test it briefly, but would you be able to confirm this?

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:42:44 PM UTC+1, Nathan Keiter wrote:

Well that’s good news then.  I have yet to upgrade our DEV site to the latest 4.x patch level.  I’ll compare that to all the bug reports, support tickets, and GIThub issues, I’ve created and see what was fixed when I do.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:37 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Interesting Will, the demo site does appear to work ok but mine consistently doesn't.

I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

 

Thanks

Arjen

 


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:

The UI should set the order of the related content objects.  Can you reproduce on the demo site?

 

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.



 

--

 

 

3059 Grand Avenue

Suite 410-B

Miami FL 33133

Main: 305-900-2001 | Direct: 978.294.9429


[hidden email] | <a href="http://www.dotcms.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;">dotcms.com

 

<a href="https://twitter.com/dotcms" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;"> <a href="http://www.linkedin.com/company/dotcms" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;"> <a href="https://plus.google.com/+Dotcms" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;" onclick="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;"> <a href="https://www.facebook.com/dotCMS" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;">

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="KN18UL6UCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dotcms+un...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="KN18UL6UCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@....
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: Saving relationship order

Nathan Keiter

Screencastify plugin for Google Chrome makes it very easy. (And it’s free. Paid account allows longer videos.)

 

It also automatically links to your Google docs.

 

Tip: You might want to move the newly created video to a new folder location in your Google docs before sharing it.  Also, a low res video is immediately available, but there’s a delay of a few minutes before the video is available in high res.  I believe this is due to Google’s video content censoring algorithm. I wait to share it with support until the high res version is being served by Google.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 11:25 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Hi Nathan,

 

Thanks, I was already testing that but yes it does appear to be replicateable in the demo system.

 

I just added a new object "Object A" with one text property.

I then added a one-to-many relationship between a landing page and object a (LandingPage-Objecta).

Then I opened landing page "Let Quest's Financial Advisors help" and from within it's relationships tab I created and linked 2 Object A items.

I then tried to re-order them by dragging but that doesn't work, just like on my system.

 

I'll try to make a screen recording but I'm not very good at that so may take a while.

 

Arjen



On Wednesday, September 6, 2017 at 4:12:18 PM UTC+1, Nathan Keiter wrote:

@Arjen Can you replicate the “many-to-many vs. other” in demo?

 

If so, a screencast of the demo site is often the fastest way to get results.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: <a href="javascript:" target="_blank">dot...@... [mailto:<a href="javascript:" target="_blank">dot...@...] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:51 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

@LORDs_diakonos - No, it's pretty much a default system with a few custom objects and one plugin (my own) that creates a bespoke REST API.

 

 

@Will Ezel - I think I can get mine to save the order as long as the relationship is many-to-many. As soon as I set it to one-to-many it stops saving.

Ive only been able to test it briefly, but would you be able to confirm this?

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:42:44 PM UTC+1, Nathan Keiter wrote:

Well that’s good news then.  I have yet to upgrade our DEV site to the latest 4.x patch level.  I’ll compare that to all the bug reports, support tickets, and GIThub issues, I’ve created and see what was fixed when I do.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:37 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Interesting Will, the demo site does appear to work ok but mine consistently doesn't.

I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

 

Thanks

Arjen

 


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:

The UI should set the order of the related content objects.  Can you reproduce on the demo site?

 

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



 

--

 

 

3059 Grand Avenue

Suite 410-B

Miami FL 33133

Main: 305-900-2001 | Direct: 978.294.9429

 

   

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank">dotcms+un...@....
To post to this group, send email to <a href="javascript:" target="_blank">dot...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/10efcb7202ed4deb9bf8421552a8da1a%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Saving relationship order

Arjen
Thanks for the tip, that was a lot easier then it used to be.

Quite frustrating though, but when I did my recording and created a new test object "Object B" this did all work as it's supposed to and ordering saved fine, so I'm starting to doubt what causes it.
So I tested again with the previous object I had created (Object A) and that still had the original problem so I made a recording of that showing that it doesn't save the order of the relationship.

https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view

I'm not sure what causes it now, but on my test machine setting the relationship to many did at fix it once.
Hopefully this makes sense to someone else as it doesn't to me...

Arjen



On Wednesday, September 6, 2017 at 4:35:19 PM UTC+1, Nathan Keiter wrote:

Screencastify plugin for Google Chrome makes it very easy. (And it’s free. Paid account allows longer videos.)

 

It also automatically links to your Google docs.

 

Tip: You might want to move the newly created video to a new folder location in your Google docs before sharing it.  Also, a low res video is immediately available, but there’s a delay of a few minutes before the video is available in high res.  I believe this is due to Google’s video content censoring algorithm. I wait to share it with support until the high res version is being served by Google.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="l6uj5f-VCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@... [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="l6uj5f-VCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 11:25 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Hi Nathan,

 

Thanks, I was already testing that but yes it does appear to be replicateable in the demo system.

 

I just added a new object "Object A" with one text property.

I then added a one-to-many relationship between a landing page and object a (LandingPage-Objecta).

Then I opened landing page "Let Quest's Financial Advisors help" and from within it's relationships tab I created and linked 2 Object A items.

I then tried to re-order them by dragging but that doesn't work, just like on my system.

 

I'll try to make a screen recording but I'm not very good at that so may take a while.

 

Arjen



On Wednesday, September 6, 2017 at 4:12:18 PM UTC+1, Nathan Keiter wrote:

@Arjen Can you replicate the “many-to-many vs. other” in demo?

 

If so, a screencast of the demo site is often the fastest way to get results.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:51 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

@LORDs_diakonos - No, it's pretty much a default system with a few custom objects and one plugin (my own) that creates a bespoke REST API.

 

 

@Will Ezel - I think I can get mine to save the order as long as the relationship is many-to-many. As soon as I set it to one-to-many it stops saving.

Ive only been able to test it briefly, but would you be able to confirm this?

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:42:44 PM UTC+1, Nathan Keiter wrote:

Well that’s good news then.  I have yet to upgrade our DEV site to the latest 4.x patch level.  I’ll compare that to all the bug reports, support tickets, and GIThub issues, I’ve created and see what was fixed when I do.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:37 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Interesting Will, the demo site does appear to work ok but mine consistently doesn't.

I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

 

Thanks

Arjen

 


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:

The UI should set the order of the related content objects.  Can you reproduce on the demo site?

 

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.



 

--

 

 

3059 Grand Avenue

Suite 410-B

Miami FL 33133

Main: 305-900-2001 | Direct: 978.294.9429


[hidden email] | <a href="http://www.dotcms.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;">dotcms.com

 

<a href="https://twitter.com/dotcms" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;"> <a href="http://www.linkedin.com/company/dotcms" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;"> <a href="https://plus.google.com/+Dotcms" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;" onclick="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;"> <a href="https://www.facebook.com/dotCMS" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;">

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="l6uj5f-VCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dotcms+un...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="l6uj5f-VCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@....
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: Saving relationship order

Nathan Keiter

No problem. It’s a life saver (and time saver.) If a picture is worth a thousand words, a video is worth a million words.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 12:08 PM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Thanks for the tip, that was a lot easier then it used to be.

 

Quite frustrating though, but when I did my recording and created a new test object "Object B" this did all work as it's supposed to and ordering saved fine, so I'm starting to doubt what causes it.

So I tested again with the previous object I had created (Object A) and that still had the original problem so I made a recording of that showing that it doesn't save the order of the relationship.

 

 

I'm not sure what causes it now, but on my test machine setting the relationship to many did at fix it once.

Hopefully this makes sense to someone else as it doesn't to me...

 

Arjen

 



On Wednesday, September 6, 2017 at 4:35:19 PM UTC+1, Nathan Keiter wrote:

Screencastify plugin for Google Chrome makes it very easy. (And it’s free. Paid account allows longer videos.)

 

It also automatically links to your Google docs.

 

Tip: You might want to move the newly created video to a new folder location in your Google docs before sharing it.  Also, a low res video is immediately available, but there’s a delay of a few minutes before the video is available in high res.  I believe this is due to Google’s video content censoring algorithm. I wait to share it with support until the high res version is being served by Google.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: <a href="javascript:" target="_blank">dot...@... [mailto:<a href="javascript:" target="_blank">dot...@...] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 11:25 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Hi Nathan,

 

Thanks, I was already testing that but yes it does appear to be replicateable in the demo system.

 

I just added a new object "Object A" with one text property.

I then added a one-to-many relationship between a landing page and object a (LandingPage-Objecta).

Then I opened landing page "Let Quest's Financial Advisors help" and from within it's relationships tab I created and linked 2 Object A items.

I then tried to re-order them by dragging but that doesn't work, just like on my system.

 

I'll try to make a screen recording but I'm not very good at that so may take a while.

 

Arjen



On Wednesday, September 6, 2017 at 4:12:18 PM UTC+1, Nathan Keiter wrote:

@Arjen Can you replicate the “many-to-many vs. other” in demo?

 

If so, a screencast of the demo site is often the fastest way to get results.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:51 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

@LORDs_diakonos - No, it's pretty much a default system with a few custom objects and one plugin (my own) that creates a bespoke REST API.

 

 

@Will Ezel - I think I can get mine to save the order as long as the relationship is many-to-many. As soon as I set it to one-to-many it stops saving.

Ive only been able to test it briefly, but would you be able to confirm this?

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:42:44 PM UTC+1, Nathan Keiter wrote:

Well that’s good news then.  I have yet to upgrade our DEV site to the latest 4.x patch level.  I’ll compare that to all the bug reports, support tickets, and GIThub issues, I’ve created and see what was fixed when I do.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:37 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Interesting Will, the demo site does appear to work ok but mine consistently doesn't.

I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

 

Thanks

Arjen

 


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:

The UI should set the order of the related content objects.  Can you reproduce on the demo site?

 

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



 

--

 

 

3059 Grand Avenue

Suite 410-B

Miami FL 33133

Main: 305-900-2001 | Direct: 978.294.9429

 

   

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank">dotcms+un...@....
To post to this group, send email to <a href="javascript:" target="_blank">dot...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/30c36603a58e4c78b844ebdd4c88e533%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Saving relationship order

Arjen
Hi all,

I've been troubleshooting this most of the day but have yet to find a fix that works reliably, so if anyone knows a way to set the order some other manual way then please let me know.
At this stage I don't mind if the admin portal displays it incorrectly as long as I can control the order somehow...

Thanks again
Arjen

 

From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="m0CKA0KYCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@... [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="m0CKA0KYCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 12:08 PM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Thanks for the tip, that was a lot easier then it used to be.

 

Quite frustrating though, but when I did my recording and created a new test object "Object B" this did all work as it's supposed to and ordering saved fine, so I'm starting to doubt what causes it.

So I tested again with the previous object I had created (Object A) and that still had the original problem so I made a recording of that showing that it doesn't save the order of the relationship.

 

<a href="https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view&#39;;return true;" onclick="this.href=&#39;https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view&#39;;return true;">https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view

 

I'm not sure what causes it now, but on my test machine setting the relationship to many did at fix it once.

Hopefully this makes sense to someone else as it doesn't to me...

 

Arjen

 



On Wednesday, September 6, 2017 at 4:35:19 PM UTC+1, Nathan Keiter wrote:

Screencastify plugin for Google Chrome makes it very easy. (And it’s free. Paid account allows longer videos.)

 

It also automatically links to your Google docs.

 

Tip: You might want to move the newly created video to a new folder location in your Google docs before sharing it.  Also, a low res video is immediately available, but there’s a delay of a few minutes before the video is available in high res.  I believe this is due to Google’s video content censoring algorithm. I wait to share it with support until the high res version is being served by Google.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 11:25 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Hi Nathan,

 

Thanks, I was already testing that but yes it does appear to be replicateable in the demo system.

 

I just added a new object "Object A" with one text property.

I then added a one-to-many relationship between a landing page and object a (LandingPage-Objecta).

Then I opened landing page "Let Quest's Financial Advisors help" and from within it's relationships tab I created and linked 2 Object A items.

I then tried to re-order them by dragging but that doesn't work, just like on my system.

 

I'll try to make a screen recording but I'm not very good at that so may take a while.

 

Arjen



On Wednesday, September 6, 2017 at 4:12:18 PM UTC+1, Nathan Keiter wrote:

@Arjen Can you replicate the “many-to-many vs. other” in demo?

 

If so, a screencast of the demo site is often the fastest way to get results.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:51 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

@LORDs_diakonos - No, it's pretty much a default system with a few custom objects and one plugin (my own) that creates a bespoke REST API.

 

 

@Will Ezel - I think I can get mine to save the order as long as the relationship is many-to-many. As soon as I set it to one-to-many it stops saving.

Ive only been able to test it briefly, but would you be able to confirm this?

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:42:44 PM UTC+1, Nathan Keiter wrote:

Well that’s good news then.  I have yet to upgrade our DEV site to the latest 4.x patch level.  I’ll compare that to all the bug reports, support tickets, and GIThub issues, I’ve created and see what was fixed when I do.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:37 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Interesting Will, the demo site does appear to work ok but mine consistently doesn't.

I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

 

Thanks

Arjen

 


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:

The UI should set the order of the related content objects.  Can you reproduce on the demo site?

 

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.



 

--

 

 

3059 Grand Avenue

Suite 410-B

Miami FL 33133

Main: 305-900-2001 | Direct: 978.294.9429


[hidden email] | <a href="http://www.dotcms.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;">dotcms.com

 

<a href="https://twitter.com/dotcms" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;"> <a href="http://www.linkedin.com/company/dotcms" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;"> <a href="https://plus.google.com/+Dotcms" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;" onclick="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;"> <a href="https://www.facebook.com/dotCMS" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;">

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="m0CKA0KYCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dotcms+un...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="m0CKA0KYCgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@....
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/ca411765-841f-4b92-a727-88fe06538a3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Saving relationship order

Arjen
It's taken some time but I found the cause of this behaviour as well as a workaround so in case someone else has the same issue please try this.

It turns out that only objects that have been created using the "Content -> Search -> Add New Content" option in the admin portal can be ordered if they are added to a relationship after.
Objects created using "Object -> Relationships -> Relate -> Relate New Content" visually look identical but can only change order once. Any time after that the re-ordering will just not save.

Now, I had the problem that I already had quite a bit of content that had been created using the "Relate" option and didn't want to re-order, but it turns out that exporting all objects of type X and then re-importing the exact same files does something to these objects that make them behave normally again, as if they had been created from the content search page to begin with.

I hope that saves someone else some time.

Arjen



On Thursday, September 7, 2017 at 1:59:56 PM UTC+1, Arjen wrote:
Hi all,

I've been troubleshooting this most of the day but have yet to find a fix that works reliably, so if anyone knows a way to set the order some other manual way then please let me know.
At this stage I don't mind if the admin portal displays it incorrectly as long as I can control the order somehow...

Thanks again
Arjen

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 12:08 PM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Thanks for the tip, that was a lot easier then it used to be.

 

Quite frustrating though, but when I did my recording and created a new test object "Object B" this did all work as it's supposed to and ordering saved fine, so I'm starting to doubt what causes it.

So I tested again with the previous object I had created (Object A) and that still had the original problem so I made a recording of that showing that it doesn't save the order of the relationship.

 

<a href="https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view&#39;;return true;" onclick="this.href=&#39;https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view&#39;;return true;">https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view

 

I'm not sure what causes it now, but on my test machine setting the relationship to many did at fix it once.

Hopefully this makes sense to someone else as it doesn't to me...

 

Arjen

 



On Wednesday, September 6, 2017 at 4:35:19 PM UTC+1, Nathan Keiter wrote:

Screencastify plugin for Google Chrome makes it very easy. (And it’s free. Paid account allows longer videos.)

 

It also automatically links to your Google docs.

 

Tip: You might want to move the newly created video to a new folder location in your Google docs before sharing it.  Also, a low res video is immediately available, but there’s a delay of a few minutes before the video is available in high res.  I believe this is due to Google’s video content censoring algorithm. I wait to share it with support until the high res version is being served by Google.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 11:25 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Hi Nathan,

 

Thanks, I was already testing that but yes it does appear to be replicateable in the demo system.

 

I just added a new object "Object A" with one text property.

I then added a one-to-many relationship between a landing page and object a (LandingPage-Objecta).

Then I opened landing page "Let Quest's Financial Advisors help" and from within it's relationships tab I created and linked 2 Object A items.

I then tried to re-order them by dragging but that doesn't work, just like on my system.

 

I'll try to make a screen recording but I'm not very good at that so may take a while.

 

Arjen



On Wednesday, September 6, 2017 at 4:12:18 PM UTC+1, Nathan Keiter wrote:

@Arjen Can you replicate the “many-to-many vs. other” in demo?

 

If so, a screencast of the demo site is often the fastest way to get results.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:51 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

@LORDs_diakonos - No, it's pretty much a default system with a few custom objects and one plugin (my own) that creates a bespoke REST API.

 

 

@Will Ezel - I think I can get mine to save the order as long as the relationship is many-to-many. As soon as I set it to one-to-many it stops saving.

Ive only been able to test it briefly, but would you be able to confirm this?

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:42:44 PM UTC+1, Nathan Keiter wrote:

Well that’s good news then.  I have yet to upgrade our DEV site to the latest 4.x patch level.  I’ll compare that to all the bug reports, support tickets, and GIThub issues, I’ve created and see what was fixed when I do.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:37 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Interesting Will, the demo site does appear to work ok but mine consistently doesn't.

I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

 

Thanks

Arjen

 


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:

The UI should set the order of the related content objects.  Can you reproduce on the demo site?

 

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.



 

--

 

 

3059 Grand Avenue

Suite 410-B

Miami FL 33133

Main: 305-900-2001 | Direct: 978.294.9429


[hidden email] | <a href="http://www.dotcms.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;">dotcms.com

 

<a href="https://twitter.com/dotcms" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;"> <a href="http://www.linkedin.com/company/dotcms" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;"> <a href="https://plus.google.com/+Dotcms" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;" onclick="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;"> <a href="https://www.facebook.com/dotCMS" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;">

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/2fef78c8-86e4-4ade-9850-e787549d474a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Saving relationship order

oscar.arrieta
hi Arjen

Thanks so much to take the time to help reproduce this one. I just tested with one branch of latest source code and I can't reproduce your case, even when creating the content via "Relate New Content."
1. What version are you using? 
2. Can you reproduce in demo.dotcms.com?
3. I tested with Blog - Comments relationship. Can you reproduce in your env with the same contents as me?

Thanks.

On Monday, September 11, 2017 at 2:22:35 PM UTC-6, Arjen wrote:
It's taken some time but I found the cause of this behaviour as well as a workaround so in case someone else has the same issue please try this.

It turns out that only objects that have been created using the "Content -> Search -> Add New Content" option in the admin portal can be ordered if they are added to a relationship after.
Objects created using "Object -> Relationships -> Relate -> Relate New Content" visually look identical but can only change order once. Any time after that the re-ordering will just not save.

Now, I had the problem that I already had quite a bit of content that had been created using the "Relate" option and didn't want to re-order, but it turns out that exporting all objects of type X and then re-importing the exact same files does something to these objects that make them behave normally again, as if they had been created from the content search page to begin with.

I hope that saves someone else some time.

Arjen



On Thursday, September 7, 2017 at 1:59:56 PM UTC+1, Arjen wrote:
Hi all,

I've been troubleshooting this most of the day but have yet to find a fix that works reliably, so if anyone knows a way to set the order some other manual way then please let me know.
At this stage I don't mind if the admin portal displays it incorrectly as long as I can control the order somehow...

Thanks again
Arjen

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 12:08 PM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Thanks for the tip, that was a lot easier then it used to be.

 

Quite frustrating though, but when I did my recording and created a new test object "Object B" this did all work as it's supposed to and ordering saved fine, so I'm starting to doubt what causes it.

So I tested again with the previous object I had created (Object A) and that still had the original problem so I made a recording of that showing that it doesn't save the order of the relationship.

 

<a href="https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view&#39;;return true;" onclick="this.href=&#39;https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view&#39;;return true;">https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view

 

I'm not sure what causes it now, but on my test machine setting the relationship to many did at fix it once.

Hopefully this makes sense to someone else as it doesn't to me...

 

Arjen

 



On Wednesday, September 6, 2017 at 4:35:19 PM UTC+1, Nathan Keiter wrote:

Screencastify plugin for Google Chrome makes it very easy. (And it’s free. Paid account allows longer videos.)

 

It also automatically links to your Google docs.

 

Tip: You might want to move the newly created video to a new folder location in your Google docs before sharing it.  Also, a low res video is immediately available, but there’s a delay of a few minutes before the video is available in high res.  I believe this is due to Google’s video content censoring algorithm. I wait to share it with support until the high res version is being served by Google.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 11:25 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Hi Nathan,

 

Thanks, I was already testing that but yes it does appear to be replicateable in the demo system.

 

I just added a new object "Object A" with one text property.

I then added a one-to-many relationship between a landing page and object a (LandingPage-Objecta).

Then I opened landing page "Let Quest's Financial Advisors help" and from within it's relationships tab I created and linked 2 Object A items.

I then tried to re-order them by dragging but that doesn't work, just like on my system.

 

I'll try to make a screen recording but I'm not very good at that so may take a while.

 

Arjen



On Wednesday, September 6, 2017 at 4:12:18 PM UTC+1, Nathan Keiter wrote:

@Arjen Can you replicate the “many-to-many vs. other” in demo?

 

If so, a screencast of the demo site is often the fastest way to get results.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:51 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

@LORDs_diakonos - No, it's pretty much a default system with a few custom objects and one plugin (my own) that creates a bespoke REST API.

 

 

@Will Ezel - I think I can get mine to save the order as long as the relationship is many-to-many. As soon as I set it to one-to-many it stops saving.

Ive only been able to test it briefly, but would you be able to confirm this?

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:42:44 PM UTC+1, Nathan Keiter wrote:

Well that’s good news then.  I have yet to upgrade our DEV site to the latest 4.x patch level.  I’ll compare that to all the bug reports, support tickets, and GIThub issues, I’ve created and see what was fixed when I do.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:37 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Interesting Will, the demo site does appear to work ok but mine consistently doesn't.

I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

 

Thanks

Arjen

 


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:

The UI should set the order of the related content objects.  Can you reproduce on the demo site?

 

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.



 

--

 

 

3059 Grand Avenue

Suite 410-B

Miami FL 33133

Main: 305-900-2001 | Direct: 978.294.9429


[hidden email] | <a href="http://www.dotcms.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;">dotcms.com

 

<a href="https://twitter.com/dotcms" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;"> <a href="http://www.linkedin.com/company/dotcms" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;"> <a href="https://plus.google.com/+Dotcms" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;" onclick="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;"> <a href="https://www.facebook.com/dotCMS" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;">

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/38648468-9ac4-4d73-80d5-759985add054%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Saving relationship order

admin
Hi Oscar,

Thanks for testing this as well.

I have just created a video showing the exact problem on your demo system, please have a look at https://drive.google.com/file/d/0B5NmEothR9UGWklZZmJyQmZTTW8/view
When I refer to 'internally created objects' I mean that they have been created using the 'Relate new content' option, whereas 'externally created objects' have been created using the 'Add New Content' option.

Here are some timecode to split it up as it's a rather long video.
0:00 - 1:30 Creation of 2 custom test objects: Object A and Object B. There's a many-to-many relationship between A and B.
1:30 - 3:28 Demonstration of the 2 'internally' created Object B items that do not save their order. Both at 3:11 and at 3:28 the order is B-1, B-2 despite having changed it! 
3:28 - 5:36 Demonstration of the 2 'externally' created Object B items that do save their order.

I hope that clarifies the issue.

Thanks
Arjen


On Tuesday, September 12, 2017 at 10:10:06 PM UTC+1, [hidden email] wrote:
hi Arjen

Thanks so much to take the time to help reproduce this one. I just tested with one branch of latest source code and I can't reproduce your case, even when creating the content via "Relate New Content."
1. What version are you using? 
2. Can you reproduce in <a href="http://demo.dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdemo.dotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGtu5j5VKNc738EHBMfCVnA9wtdHA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdemo.dotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGtu5j5VKNc738EHBMfCVnA9wtdHA&#39;;return true;">demo.dotcms.com?
3. I tested with Blog - Comments relationship. Can you reproduce in your env with the same contents as me?

Thanks.

On Monday, September 11, 2017 at 2:22:35 PM UTC-6, Arjen wrote:
It's taken some time but I found the cause of this behaviour as well as a workaround so in case someone else has the same issue please try this.

It turns out that only objects that have been created using the "Content -> Search -> Add New Content" option in the admin portal can be ordered if they are added to a relationship after.
Objects created using "Object -> Relationships -> Relate -> Relate New Content" visually look identical but can only change order once. Any time after that the re-ordering will just not save.

Now, I had the problem that I already had quite a bit of content that had been created using the "Relate" option and didn't want to re-order, but it turns out that exporting all objects of type X and then re-importing the exact same files does something to these objects that make them behave normally again, as if they had been created from the content search page to begin with.

I hope that saves someone else some time.

Arjen



On Thursday, September 7, 2017 at 1:59:56 PM UTC+1, Arjen wrote:
Hi all,

I've been troubleshooting this most of the day but have yet to find a fix that works reliably, so if anyone knows a way to set the order some other manual way then please let me know.
At this stage I don't mind if the admin portal displays it incorrectly as long as I can control the order somehow...

Thanks again
Arjen

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 12:08 PM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Thanks for the tip, that was a lot easier then it used to be.

 

Quite frustrating though, but when I did my recording and created a new test object "Object B" this did all work as it's supposed to and ordering saved fine, so I'm starting to doubt what causes it.

So I tested again with the previous object I had created (Object A) and that still had the original problem so I made a recording of that showing that it doesn't save the order of the relationship.

 

<a href="https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view&#39;;return true;" onclick="this.href=&#39;https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view&#39;;return true;">https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view

 

I'm not sure what causes it now, but on my test machine setting the relationship to many did at fix it once.

Hopefully this makes sense to someone else as it doesn't to me...

 

Arjen

 



On Wednesday, September 6, 2017 at 4:35:19 PM UTC+1, Nathan Keiter wrote:

Screencastify plugin for Google Chrome makes it very easy. (And it’s free. Paid account allows longer videos.)

 

It also automatically links to your Google docs.

 

Tip: You might want to move the newly created video to a new folder location in your Google docs before sharing it.  Also, a low res video is immediately available, but there’s a delay of a few minutes before the video is available in high res.  I believe this is due to Google’s video content censoring algorithm. I wait to share it with support until the high res version is being served by Google.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 11:25 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Hi Nathan,

 

Thanks, I was already testing that but yes it does appear to be replicateable in the demo system.

 

I just added a new object "Object A" with one text property.

I then added a one-to-many relationship between a landing page and object a (LandingPage-Objecta).

Then I opened landing page "Let Quest's Financial Advisors help" and from within it's relationships tab I created and linked 2 Object A items.

I then tried to re-order them by dragging but that doesn't work, just like on my system.

 

I'll try to make a screen recording but I'm not very good at that so may take a while.

 

Arjen



On Wednesday, September 6, 2017 at 4:12:18 PM UTC+1, Nathan Keiter wrote:

@Arjen Can you replicate the “many-to-many vs. other” in demo?

 

If so, a screencast of the demo site is often the fastest way to get results.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:51 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

@LORDs_diakonos - No, it's pretty much a default system with a few custom objects and one plugin (my own) that creates a bespoke REST API.

 

 

@Will Ezel - I think I can get mine to save the order as long as the relationship is many-to-many. As soon as I set it to one-to-many it stops saving.

Ive only been able to test it briefly, but would you be able to confirm this?

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:42:44 PM UTC+1, Nathan Keiter wrote:

Well that’s good news then.  I have yet to upgrade our DEV site to the latest 4.x patch level.  I’ll compare that to all the bug reports, support tickets, and GIThub issues, I’ve created and see what was fixed when I do.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:37 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Interesting Will, the demo site does appear to work ok but mine consistently doesn't.

I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

 

Thanks

Arjen

 


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:

The UI should set the order of the related content objects.  Can you reproduce on the demo site?

 

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.



 

--

 

 

3059 Grand Avenue

Suite 410-B

Miami FL 33133

Main: 305-900-2001 | Direct: 978.294.9429


[hidden email] | <a href="http://www.dotcms.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;">dotcms.com

 

<a href="https://twitter.com/dotcms" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;"> <a href="http://www.linkedin.com/company/dotcms" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;"> <a href="https://plus.google.com/+Dotcms" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;" onclick="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;"> <a href="https://www.facebook.com/dotCMS" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;">

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/138c1e0f-aee8-4d8f-bfbb-a5fec5a13d62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Saving relationship order

Arjen
In reply to this post by oscar.arrieta
Hi Oscar,

It looks like my reply earlier this morning hasn't been published so here it is once more.

But I recorded a video of the issue on your demo system which you can download here: https://drive.google.com/file/d/0B5NmEothR9UGWklZZmJyQmZTTW8/view
Where I refer to "externally created objects" I mean objects that I have created using the "Add New Content" option, whereas  "internally created objects" have been created using the "Relate New Content" option within the relationships.

Here are some timecodes to explain what's happening etc, but please have a look at the bit from 3:10 to 3:28 as that shows that the objects' order hasn't been saved.
0:00 - 1:30 Creation of 2 custom test objects: Object A and Object B. There's a many-to-many relationship between A and B.
1:30 - 3:28 Demonstration of the 2 'internally' created Object B items that do not save their order.
3:28 - 5:36 Demonstration of the 2 'externally' created Object B items that do save their order.

I hope that helps.

Arjen




On Tuesday, September 12, 2017 at 10:10:06 PM UTC+1, [hidden email] wrote:
hi Arjen

Thanks so much to take the time to help reproduce this one. I just tested with one branch of latest source code and I can't reproduce your case, even when creating the content via "Relate New Content."
1. What version are you using? 
2. Can you reproduce in <a href="http://demo.dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdemo.dotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGtu5j5VKNc738EHBMfCVnA9wtdHA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdemo.dotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGtu5j5VKNc738EHBMfCVnA9wtdHA&#39;;return true;">demo.dotcms.com?
3. I tested with Blog - Comments relationship. Can you reproduce in your env with the same contents as me?

Thanks.

On Monday, September 11, 2017 at 2:22:35 PM UTC-6, Arjen wrote:
It's taken some time but I found the cause of this behaviour as well as a workaround so in case someone else has the same issue please try this.

It turns out that only objects that have been created using the "Content -> Search -> Add New Content" option in the admin portal can be ordered if they are added to a relationship after.
Objects created using "Object -> Relationships -> Relate -> Relate New Content" visually look identical but can only change order once. Any time after that the re-ordering will just not save.

Now, I had the problem that I already had quite a bit of content that had been created using the "Relate" option and didn't want to re-order, but it turns out that exporting all objects of type X and then re-importing the exact same files does something to these objects that make them behave normally again, as if they had been created from the content search page to begin with.

I hope that saves someone else some time.

Arjen



On Thursday, September 7, 2017 at 1:59:56 PM UTC+1, Arjen wrote:
Hi all,

I've been troubleshooting this most of the day but have yet to find a fix that works reliably, so if anyone knows a way to set the order some other manual way then please let me know.
At this stage I don't mind if the admin portal displays it incorrectly as long as I can control the order somehow...

Thanks again
Arjen

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 12:08 PM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Thanks for the tip, that was a lot easier then it used to be.

 

Quite frustrating though, but when I did my recording and created a new test object "Object B" this did all work as it's supposed to and ordering saved fine, so I'm starting to doubt what causes it.

So I tested again with the previous object I had created (Object A) and that still had the original problem so I made a recording of that showing that it doesn't save the order of the relationship.

 

<a href="https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view&#39;;return true;" onclick="this.href=&#39;https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view&#39;;return true;">https://drive.google.com/file/d/0B5NmEothR9UGN0FMa05RY25HOU0/view

 

I'm not sure what causes it now, but on my test machine setting the relationship to many did at fix it once.

Hopefully this makes sense to someone else as it doesn't to me...

 

Arjen

 



On Wednesday, September 6, 2017 at 4:35:19 PM UTC+1, Nathan Keiter wrote:

Screencastify plugin for Google Chrome makes it very easy. (And it’s free. Paid account allows longer videos.)

 

It also automatically links to your Google docs.

 

Tip: You might want to move the newly created video to a new folder location in your Google docs before sharing it.  Also, a low res video is immediately available, but there’s a delay of a few minutes before the video is available in high res.  I believe this is due to Google’s video content censoring algorithm. I wait to share it with support until the high res version is being served by Google.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 11:25 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Hi Nathan,

 

Thanks, I was already testing that but yes it does appear to be replicateable in the demo system.

 

I just added a new object "Object A" with one text property.

I then added a one-to-many relationship between a landing page and object a (LandingPage-Objecta).

Then I opened landing page "Let Quest's Financial Advisors help" and from within it's relationships tab I created and linked 2 Object A items.

I then tried to re-order them by dragging but that doesn't work, just like on my system.

 

I'll try to make a screen recording but I'm not very good at that so may take a while.

 

Arjen



On Wednesday, September 6, 2017 at 4:12:18 PM UTC+1, Nathan Keiter wrote:

@Arjen Can you replicate the “many-to-many vs. other” in demo?

 

If so, a screencast of the demo site is often the fastest way to get results.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:51 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

@LORDs_diakonos - No, it's pretty much a default system with a few custom objects and one plugin (my own) that creates a bespoke REST API.

 

 

@Will Ezel - I think I can get mine to save the order as long as the relationship is many-to-many. As soon as I set it to one-to-many it stops saving.

Ive only been able to test it briefly, but would you be able to confirm this?

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:42:44 PM UTC+1, Nathan Keiter wrote:

Well that’s good news then.  I have yet to upgrade our DEV site to the latest 4.x patch level.  I’ll compare that to all the bug reports, support tickets, and GIThub issues, I’ve created and see what was fixed when I do.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 10:37 AM
To: dotCMS User Group
Subject: Re: [dotcms] Saving relationship order

 

Interesting Will, the demo site does appear to work ok but mine consistently doesn't.

I don't see anything interesting in the logs either but I'll see what happens with relationships of non-custom objects.

 

Thanks

Arjen

 


On Wednesday, September 6, 2017 at 3:24:24 PM UTC+1, Will Ezell wrote:

The UI should set the order of the related content objects.  Can you reproduce on the demo site?

 

On Wed, Sep 6, 2017 at 10:19 AM, Arjen <[hidden email]> wrote:

Thanks for confirming Nathan, at least I can stop scratching my head.

You wouldn't happen to have a different method of setting the order, do you?

 

By the way, I think it's the creation date it sorts on, not the modification date as I thought earlier.

 

Thanks

Arjen

 



On Wednesday, September 6, 2017 at 3:07:57 PM UTC+1, Nathan Keiter wrote:

It’s not just you, there are a lot of similar bugs in the 4.x UI.  I was hoping the latest patch would fix them. Sounds like 4.1.1 did not.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

<a href="https://www.gettysburg.edu/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.gettysburg.edu%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG7XlfToBr_IA0adrY4nu9tVtLS_w&#39;;return true;">https://www.gettysburg.edu

 

From: [hidden email] [mailto:dot...@googlegroups.com] On Behalf Of Arjen
Sent: Wednesday, September 06, 2017 9:57 AM
To: dotCMS User Group
Subject: [dotcms] Saving relationship order

 

Hi,

 

Is it just me or does the admin portal not save the order of related items?

I can add items to a relationship and then drag them in a certain order, but next time I go back it will have the same order as before my changes again (I think it reverts to the modification date of the related items).

 

Later on, in my code, I use the ContentletRelationships getRelationshipsRecords() method to loop over these related items which works fine, but sticks to the order then the admin portal reverts to, not the order I saved them in.

 

Any ideas how I can fix this?

I tried different browsers, and different machine, but to no avail.

dotcms 4.1.1

 

Thanks

Arjen

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c05ca129-f34a-496b-87ce-3b4e57e150be%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/8a53bd57-7863-4701-abee-2e92282a6c36%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.



 

--

 

 

3059 Grand Avenue

Suite 410-B

Miami FL 33133

Main: 305-900-2001 | Direct: 978.294.9429


[hidden email] | <a href="http://www.dotcms.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.dotcms.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFNWs9V2WKwZWrVfr8NIkv4s5e0Dw&#39;;return true;">dotcms.com

 

<a href="https://twitter.com/dotcms" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFI7UKimTeQqANitfHPRcF_RMkrTw&#39;;return true;"> <a href="http://www.linkedin.com/company/dotcms" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fdotcms\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG_qDpNIBt3bgBzCOdMhHi9AfMwNA&#39;;return true;"> <a href="https://plus.google.com/+Dotcms" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;" onclick="this.href=&#39;https://plus.google.com/+Dotcms&#39;;return true;"> <a href="https://www.facebook.com/dotCMS" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.facebook.com%2FdotCMS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-Ge1oKMS8PGManhW1ZhuhY8-L9g&#39;;return true;">

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/f29ced3f-cd00-4b36-be18-fdfd0f51a950%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/d4d1c186-02f3-4a1d-ba8a-d71426af90ab%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/c9b00a57-af81-4e3c-8b82-9be5ac46d24e%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;"> https://groups.google.com/d/optout.

--
<a href="http://dotcms.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;"> https://groups.google.com/d/msgid/dotcms/3ac21cf5-64b1-41b0-8471-b8950c50aa69%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/69e0e062-6ab9-43f6-b035-45a1b642b47d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.