MMBase

An enumeration of a node field can result in a very large and unusable pulldown

Details

  • Type: Bug Bug
  • Status: Reopened Reopened
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.9.2
  • Fix Version/s: 1.9.7
  • Component/s: DataTypes
  • Description:
    Hide
    Like it is being used in streamsourcescaches.id field in the Streams application:

        <datatype base="nodenumber" xmlns="http://www.mmbase.org/xmlns/datatypes">
          <required value="true" enforce="never" />
            <enumeration enforce="never"> <!-- enforcing is very bad for performance -->
            <query type="mediasources" xmlns="http://www.mmbase.org/xmlns/searchquery" />
          </enumeration>
        </datatype>
    Show
    Like it is being used in streamsourcescaches.id field in the Streams application:     <datatype base="nodenumber" xmlns="http://www.mmbase.org/xmlns/datatypes">       <required value="true" enforce="never" />         <enumeration enforce="never"> <!-- enforcing is very bad for performance -->         <query type="mediasources" xmlns="http://www.mmbase.org/xmlns/searchquery" />       </enumeration>     </datatype>

Activity

Michiel Meeuwissen made changes - 2010-02-02 15:01
Field Original Value New Value
Assignee MMBase Project Leader [ mmbaseleader ] Michiel Meeuwissen [ mihxil ]
Michiel Meeuwissen made changes - 2010-03-04 20:15
Fix Version/s 1.9.4 [ 10191 ]
Fix Version/s 1.9.3 [ 10190 ]
Michiel Meeuwissen made changes - 2010-06-18 14:14
Fix Version/s 1.9.5 [ 10213 ]
Fix Version/s 1.9.4 [ 10191 ]
Michiel Meeuwissen made changes - 2010-10-15 14:33
Fix Version/s 1.9.6 [ 10231 ]
Fix Version/s 1.9.5 [ 10213 ]
Repository Revision Date User Message
MMBase SVN #45206 Tue Feb 15 16:43:07 CET 2011 michiel made at least the head-tag open and close in same file always. support for the blocks 'mmbase-genericeditors.head' (related to MMB-1922)
Files Changed
ADD /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/head.entries.jsp
MODIFY /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/config.jsp
MODIFY /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/about.jsp
MODIFY /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/page_base_functionality.jsp
MODIFY /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/change_node.jsp
DEL /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/page_base.jsp
ADD /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/editor.head.jsp
MODIFY /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/edit_aliases.jsp
MODIFY /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/logout.jsp
MODIFY /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/new_relation.jsp
MODIFY /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/create_node.jsp
MODIFY /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/search_node.jsp
MODIFY /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/login.jsp
MODIFY /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/navigate.jsp
MODIFY /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/functions.jsp
Repository Revision Date User Message
MMBase SVN #45207 Tue Feb 15 16:45:22 CET 2011 michiel made at least the head-tag open and close in same file always. support for the blocks 'mmbase-genericeditors.head' (related to MMB-1922)
Files Changed
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/edit_aliases.jsp
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/logout.jsp
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/new_relation.jsp
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/login.jsp
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/search_node.jsp
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/functions.jsp
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/about.jsp
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/page_base_functionality.jsp
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/navigate.jsp
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/config.jsp
ADD /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/head.entries.jsp (from /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/head.entries.jsp)
ADD /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/editor.head.jsp (from /mmbase/branches/MMBase-1_9/base-webapp/src/main/webapp/mmbase/edit/basic/editor.head.jsp)
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/change_node.jsp
MODIFY /mmbase/trunk/base-webapp/src/main/webapp/mmbase/edit/basic/create_node.jsp
Hide
Michiel Meeuwissen added a comment - 2011-02-16 16:09
Issue can be worked arround by installing mmbase-searchrelate. This will install a better handler for node-types. Namely a mm-sr:relatednodes instance.
Show
Michiel Meeuwissen added a comment - 2011-02-16 16:09 Issue can be worked arround by installing mmbase-searchrelate. This will install a better handler for node-types. Namely a mm-sr:relatednodes instance.
Repository Revision Date User Message
MMBase SVN #45242 Wed Feb 16 17:12:46 CET 2011 michiel MMB-1922
Files Changed
MODIFY /mmbase/branches/MMBase-1_9/applications/taglib/src/main/java/org/mmbase/bridge/jsp/taglib/typehandler/EnumHandler.java
Repository Revision Date User Message
MMBase SVN #45243 Wed Feb 16 17:14:03 CET 2011 michiel MMB-1922
Files Changed
MODIFY /mmbase/trunk/applications/taglib/pom.xml
MODIFY /mmbase/trunk/applications/taglib/src/main/java/org/mmbase/bridge/jsp/taglib
MODIFY /mmbase/trunk/applications/taglib/src/main/java/org/mmbase/bridge/jsp/taglib/typehandler/EnumHandler.java
MODIFY /mmbase/trunk/applications/taglib
Hide
Michiel Meeuwissen added a comment - 2011-02-16 17:17
add

<context-param>
    <param-name>mmbase.taglib.max_enumhandler_length</param-name>
    <param-value>20</param-value>
  </context-param>

to web.xml

to apply a maximum length
Show
Michiel Meeuwissen added a comment - 2011-02-16 17:17 add <context-param>     <param-name>mmbase.taglib.max_enumhandler_length</param-name>     <param-value>20</param-value>   </context-param> to web.xml to apply a maximum length
Michiel Meeuwissen made changes - 2011-02-16 17:17
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Hide
André van Toly added a comment - 2011-04-21 10:48
That does not solve it f.e. for parent in properties builder (core/src/main/config/builders/properties.xml). Which could list all nodes in mmbase.

    <field name="parent">
      <descriptions>
        <description xml:lang="en">Node to which the property was added</description>
        <description xml:lang="nl">Node waaraan de eigenschap of voorkeur is toegekend</description>
      </descriptions>
      <gui>
        <guiname xml:lang="en">Parent</guiname>
        <guiname xml:lang="nl">Ouder</guiname>
      </gui>
      <editor><positions><list>1</list></positions></editor>
      <datatype base="node" xmlns="http://www.mmbase.org/xmlns/datatypes">
        <required value="true" />
      </datatype>
    </field>
Show
André van Toly added a comment - 2011-04-21 10:48 That does not solve it f.e. for parent in properties builder (core/src/main/config/builders/properties.xml). Which could list all nodes in mmbase.     <field name="parent">       <descriptions>         <description xml:lang="en">Node to which the property was added</description>         <description xml:lang="nl">Node waaraan de eigenschap of voorkeur is toegekend</description>       </descriptions>       <gui>         <guiname xml:lang="en">Parent</guiname>         <guiname xml:lang="nl">Ouder</guiname>       </gui>       <editor><positions><list>1</list></positions></editor>       <datatype base="node" xmlns="http://www.mmbase.org/xmlns/datatypes">         <required value="true" />       </datatype>     </field>
André van Toly made changes - 2011-04-21 10:48
Resolution Fixed [ 1 ]
Status Resolved [ 5 ] Reopened [ 4 ]
André van Toly made changes - 2011-05-16 12:04
Summary An enumeration of a node field can create a very large pulldown An enumeration of a node field can result in a very large and unusable pulldown
Priority Minor [ 4 ] Major [ 3 ]
Repository Revision Date User Message
MMBase SVN #45715 Mon May 16 15:15:50 CEST 2011 andre MMB-1922 tool to change username (for admins only)
Files Changed
ADD /openimages/trunk/src/main/webapp/editors/tools/changeowner.jspx
Hide
André van Toly added a comment - 2012-06-11 22:54
my_editors has an added feature to edit owner, but maybe still this needs to be fixed some other way.
Show
André van Toly added a comment - 2012-06-11 22:54 my_editors has an added feature to edit owner, but maybe still this needs to be fixed some other way.
André van Toly made changes - 2012-06-11 22:54
Fix Version/s 1.9.7 [ 10232 ]
Fix Version/s 1.9.6 [ 10231 ]

People

Dates

  • Created:
    2010-02-02 10:50
    Updated:
    2012-06-11 22:54