<< Back to previous view

[MMB-1922] An enumeration of a node field can result in a very large and unusable pulldown Created: 2010-02-02  Updated: 2012-06-11

Status: Reopened
Project: MMBase
Component/s: DataTypes
Affects Version/s: 1.9.2
Fix Version/s: 1.9.7

Type: Bug Priority: Major
Reporter: André van Toly Assignee: Michiel Meeuwissen
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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" />

Comment by Michiel Meeuwissen [ 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.
Comment by Michiel Meeuwissen [ 2011-02-16 17:17 ]


to web.xml

to apply a maximum length
Comment by André van Toly [ 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">
        <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>
        <guiname xml:lang="en">Parent</guiname>
        <guiname xml:lang="nl">Ouder</guiname>
      <datatype base="node" xmlns="http://www.mmbase.org/xmlns/datatypes">
        <required value="true" />
Comment by André van Toly [ 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.
Generated at Sat Nov 28 12:16:53 CET 2015 using JIRA 4.1#519.