<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 03:16:27 CET 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Magnolia - Issue tracker</title>
    <link>https://jira.magnolia-cms.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-uk</language>    <build-info>
        <version>9.4.2</version>
        <build-number>940002</build-number>
        <build-date>19-01-2023</build-date>
    </build-info>


<item>
            <title>[MAGNOLIA-340] core.search package, extend QueryResult and fix NodeData</title>
                <link>https://jira.magnolia-cms.com/browse/MAGNOLIA-340</link>
                <project id="10000" key="MAGNOLIA">Magnolia</project>
                    <description>&lt;p&gt;magnolia NodeData is stored as nt:file type in jcr, that worked quite well but its a problem with simple SQL queries&lt;br/&gt;
like select * from nt:unstructured where title=&apos;home&apos; this will fail because there is no property called &quot;title&quot; instead its stored&lt;br/&gt;
as title/jcr:content/Data&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;fix NodeData so its a leaf in a jcr hierarchy.&lt;/li&gt;
	&lt;li&gt;extend QueryResult such that it filters on required node type&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="10645">MAGNOLIA-340</key>
            <summary>core.search package, extend QueryResult and fix NodeData</summary>
                <type id="3" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10898&amp;avatarType=issuetype">Task</type>
                                            <priority id="1" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/blocker.svg">Blocker</priority>
                        <status id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="scharles">Sameer Charles</assignee>
                                    <reporter username="scharles">Sameer Charles</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Apr 2005 19:23:47 +0200</created>
                <updated>Tue, 11 Mar 2008 03:09:38 +0100</updated>
                            <resolved>Wed, 27 Apr 2005 11:49:51 +0200</resolved>
                                    <version>2.1 Final</version>
                                    <fixVersion>2.1 Final</fixVersion>
                                    <component>core</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="10646" author="scharles" created="Fri, 22 Apr 2005 16:39:42 +0200"  >&lt;p&gt;next steps : &lt;/p&gt;

&lt;p&gt;1. refactor NodeData class so its no longer content type mgnl:nodeData but a simple jcr property&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;this will help in reducing number of nodes creating&lt;/li&gt;
	&lt;li&gt;jcr search query will work as expected&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;2. ContentNode will be depricated since it does not make sence to have wraper classes for nodes when we have a &lt;br/&gt;
    possibility to use NodeTypes&lt;/p&gt;

&lt;p&gt;3. Define QueryResult interface, implement core.search package&lt;/p&gt;

&lt;p&gt;4. Refoctoring all effected classes.&lt;/p&gt;

&lt;p&gt;I am working on it, expecting to finish early next week. ll update bootstrap and new node type definitions once tested.&lt;/p&gt;

&lt;p&gt;Devs : please let me know if someone else also working on magnolia.core package, if yes ll wait unitil you finish.&lt;/p&gt;</comment>
                            <comment id="10648" author="scharles" created="Mon, 25 Apr 2005 13:19:06 +0200"  >&lt;p&gt;just commited few changes on svn&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://svn.magnolia.info/svn/magnolia/trunk/src/main/info/magnolia/cms/core/*&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://svn.magnolia.info/svn/magnolia/trunk/src/main/info/magnolia/cms/core/*&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://svn.magnolia.info/svn/magnolia/trunk/src/main/info/magnolia/cms/beans/config/ContentRepository.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://svn.magnolia.info/svn/magnolia/trunk/src/main/info/magnolia/cms/beans/config/ContentRepository.java&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://svn.magnolia.info/svn/magnolia/trunk/src/webapp/WEB-INF/bootstrap/*&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://svn.magnolia.info/svn/magnolia/trunk/src/webapp/WEB-INF/bootstrap/*&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://svn.magnolia.info/svn/magnolia/trunk/src/webapp/repositories/*&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://svn.magnolia.info/svn/magnolia/trunk/src/webapp/repositories/*&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note : you will see all jcr system properties in tree view, I am working on it to filter.&lt;/p&gt;

&lt;p&gt;you can see the performance difference on persisting data, its 10x faster also for activation&lt;/p&gt;

&lt;p&gt;Next task : &lt;br/&gt;
Now ll be working on refactoring ContentNode/usage, for this I might have to touch almost all packages&lt;/p&gt;

&lt;p&gt;keep you posted&lt;/p&gt;</comment>
                            <comment id="10651" author="fgiust" created="Mon, 25 Apr 2005 15:23:16 +0200"  >&lt;p&gt;Well done Sameer, looks a lot faster and simpler now...&lt;/p&gt;

&lt;p&gt;just a few comments:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the default xml for the website repository still contains references to mgnl:nodeData and need to be fixed&lt;/li&gt;
	&lt;li&gt;how can you convert content to the new format? Activation? Do you have anything (xslt) that can be used to directly update an xml file?&lt;/li&gt;
	&lt;li&gt;I just modified the BootStrapTest in order to use the content in the standard bootstrap dir: I recommend to always run this test and keep it updated (e.g. changed nodetypes)... it&apos;s the easier way to see if everything works (you can add any assertion on imported content if needed)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="10653" author="scharles" created="Mon, 25 Apr 2005 15:33:05 +0200"  >&lt;p&gt;updated/tested search QueryResult&lt;br/&gt;
&lt;a href=&quot;http://svn.magnolia.info/svn/magnolia/trunk/src/main/info/magnolia/cms/core/search/*&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://svn.magnolia.info/svn/magnolia/trunk/src/main/info/magnolia/cms/core/search/*&lt;/a&gt;&lt;br/&gt;
queries should work as defined in specs&lt;br/&gt;
&lt;a href=&quot;http://svn.magnolia.info/svn/magnolia/trunk/src/webapp/templates/jsp/samples/search/search.jsp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://svn.magnolia.info/svn/magnolia/trunk/src/webapp/templates/jsp/samples/search/search.jsp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;--------&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the default xml for the website repository still contains references to mgnl:nodeData and need to be fixed&lt;br/&gt;
just noticed , will fix it&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;how can you convert content to the new format? Activation? Do you have anything (xslt) that can be used to directly update an xml file?&lt;br/&gt;
I did it via Activation.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;I just modified the BootStrapTest in order to use the content in the standard bootstrap dir: I recommend to always run this test and keep it updated (e.g. changed nodetypes)... it&apos;s the easier way to see if everything works (you can add any assertion on imported content if needed)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;yeah my mistake, will do so.&lt;/p&gt;

&lt;p&gt;--------&lt;/p&gt;

&lt;p&gt;Next Steps :&lt;br/&gt;
as mentioned, remove dependencies on ContentNode class, instead use Content. treat contentNode as any other custom NodeType.&lt;/p&gt;

</comment>
                            <comment id="10661" author="scharles" created="Mon, 25 Apr 2005 16:10:36 +0200"  >&lt;p&gt;website.features.xml updated&lt;/p&gt;</comment>
                            <comment id="10666" author="fgiust" created="Mon, 25 Apr 2005 20:29:17 +0200"  >&lt;p&gt;tested, everything works for me and bootstrap is faster than before.&lt;/p&gt;

&lt;p&gt;There is something wrong with export/import of binary properties however, don&apos;t know if this is a problem of magnolia or a jackrabbit... could you give it a look?&lt;br/&gt;
If you try exporting a page which contains an image and reimporting it (from &lt;a href=&quot;http://localhost:8080/magnolia/export&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/magnolia/export&lt;/a&gt;) the image is then handled as a text property (the binary content is displayed instead of the name when using &amp;lt;cms:out&amp;gt;).&lt;/p&gt;</comment>
                            <comment id="10667" author="scharles" created="Mon, 25 Apr 2005 23:13:28 +0200"  >&lt;p&gt;hmmm its a same problem with all other types, XML export does not maintain data type information ! strange&lt;br/&gt;
when you import it all properties (binary, boolean, long..) are read as strings, except jcr:* properties.&lt;/p&gt;

&lt;p&gt;seems like on document view import it uses &quot;PropertyDefinition&quot; as defined in NodeType definition to determine the data type of a property, and since magnolia nodetype definition defines a generic property &quot;*&quot; it does not know how to handle this.&lt;/p&gt;

&lt;p&gt;I am not sure if its a jackrabbit problem or magnolia &lt;br/&gt;
ll work on it!&lt;/p&gt;</comment>
                            <comment id="10670" author="scharles" created="Tue, 26 Apr 2005 11:04:43 +0200"  >&lt;p&gt;its a problem with jackrabbit, since jcr does not define any structure for xml export its open for the implementation.&lt;br/&gt;
we define preperty as &quot;undefined&quot; and on save its saved properly.&lt;/p&gt;

&lt;p&gt;snippet from the specs----&lt;/p&gt;

&lt;p&gt;&quot;&quot;&lt;/p&gt;</comment>
                            <comment id="10671" author="scharles" created="Tue, 26 Apr 2005 11:05:51 +0200"  >&lt;p&gt;&quot;&lt;/p&gt;</comment>
                            <comment id="10672" author="scharles" created="Tue, 26 Apr 2005 11:06:48 +0200"  >&lt;p&gt;Returns the type of this Property. The type returned &lt;br/&gt;
is that which was set at property creation. Note that &lt;br/&gt;
for some property p, the type returned by &lt;br/&gt;
p.getType() may differ from the type returned by &lt;br/&gt;
p.getDefinition.getRequiredType() only in the &lt;br/&gt;
case where the latter returns UNDEFINED. The type of &lt;br/&gt;
a property instance is never UNDEFINED (it must &lt;br/&gt;
always have some actual type). See 6.2.5 Property &lt;br/&gt;
Types and 6.7.18 Discovery of Constraints on Existing &lt;br/&gt;
Items. &lt;br/&gt;
--------------------------------------------------&lt;br/&gt;
int UNDEFINED&lt;br/&gt;
This constant can be used within a property definition (see &lt;br/&gt;
6.7.6 Property Definitions) to specify that the property in &lt;br/&gt;
question may be of any type. However, it cannot be the &lt;br/&gt;
actual type of any property instance. For example it will &lt;br/&gt;
never be returned by Property.getType and (in level 2 &lt;br/&gt;
implementations) it cannot be assigned as the type when &lt;br/&gt;
creating a new property.&lt;/p&gt;
</comment>
                            <comment id="10673" author="fgiust" created="Tue, 26 Apr 2005 11:42:40 +0200"  >&lt;p&gt;reported to jackrabbit&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://issues.apache.org/jira/browse/JCR-115&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://issues.apache.org/jira/browse/JCR-115&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="10680" author="fgiust" created="Tue, 26 Apr 2005 14:18:05 +0200"  >&lt;p&gt;see comments on &lt;a href=&quot;http://issues.apache.org/jira/browse/JCR-115&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://issues.apache.org/jira/browse/JCR-115&lt;/a&gt;&lt;br/&gt;
modified exportServlet to use system view for the website repository and document view for others. Everything works fine also for import and export, you can go on with refactoring now &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.magnolia-cms.com/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="10681" author="scharles" created="Tue, 26 Apr 2005 14:45:26 +0200"  >&lt;p&gt;great!!&lt;/p&gt;

&lt;p&gt;opened new JIRA issue &lt;a href=&quot;http://jira.magnolia.info/browse/MAGNOLIA-351&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://jira.magnolia.info/browse/MAGNOLIA-351&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="10685" author="scharles" created="Wed, 27 Apr 2005 11:49:51 +0200"  >&lt;p&gt;follow &lt;a href=&quot;http://jira.magnolia.info/browse/MAGNOLIA-351&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://jira.magnolia.info/browse/MAGNOLIA-351&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_14166" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Acceptance criteria</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>magnolia-cms.com</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 25 Apr 2005 15:23:16 +0200</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12730" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14151" key="com.atlassian.jira.toolkit:message">
                        <customfieldname>Docu info</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10061" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comm is not jira-dev</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>mmuehlebach</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            18 years, 44 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>fgiust</customfieldvalue>
            <customfieldvalue>scharles</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01d5j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8013</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_14167" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Task DoR</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_14145" key="com.intenso.jira.issue-templates:issue-templates-customfield">
                        <customfieldname>Template</customfieldname>
                        <customfieldvalues>
                            


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_15131" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Time in Discovery</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>