Didactor

object model is overly complicated, and at least uncommon.

Details

  • Type: Sub-task Sub-task
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.2.0
  • Fix Version/s: 2.3.0
  • Component/s: portalpages
  • Description:
    Hide
    Another issue already mentions the useless use of a container type.

    to this container are related 'portalpagesnodes', which are sorted by a order_number field in those objects themselves. The role between them is childppnn whateever that may stand for.

    The rest of the world would use a 'posrel' relation in stead. Then, the actual contain is stored in 'simplecontents' which is relate to the last portalpagesnodes without any order:

      <mm:relatednodescontainer path="simplecontents" searchdirs="source">
                  <mm:constraint referid="today" field="online_date" operator="LESS" />
                  <mm:constraint referid="today" field="offline_date" operator="GREATER" />

                  <mm:relatednodes>


    (this is already cleaned up by me).


    So, if you link more than one, the contents is shown in random order.

    I simply do not understand why it has to be this difficult.

    Drop containers. Use posrel. What's hard about that?
    Show
    Another issue already mentions the useless use of a container type. to this container are related 'portalpagesnodes', which are sorted by a order_number field in those objects themselves. The role between them is childppnn whateever that may stand for. The rest of the world would use a 'posrel' relation in stead. Then, the actual contain is stored in 'simplecontents' which is relate to the last portalpagesnodes without any order:   <mm:relatednodescontainer path="simplecontents" searchdirs="source">               <mm:constraint referid="today" field="online_date" operator="LESS" />               <mm:constraint referid="today" field="offline_date" operator="GREATER" />               <mm:relatednodes> (this is already cleaned up by me). So, if you link more than one, the contents is shown in random order. I simply do not understand why it has to be this difficult. Drop containers. Use posrel. What's hard about that?

Activity

There are no subversion log entries for this issue yet.

People

Dates

  • Created:
    2008-03-20 21:44
    Updated:
    2008-03-20 22:15