tsgrp / OpenContent

TSG's Web Services for ECM Repositories
8 stars 4 forks source link

Cannot Create wizard form on Alfresco 5.0.1 - forms not found #77

Closed alieblich closed 8 years ago

alieblich commented 8 years ago

Given the following query:

 (TYPE:aw\:page_set  AND NOT(@aw\:activeVersionLabel:"none")) AND NOT ASPECT:\{http\://www\.alfresco\.org/model/content/1\.0\}workingcopy

This returns the active Wizard forms in Alfresco 4.2.1 but returns no results in 5.0.1. Trying other strings like 1.0 and test also failed. Here's the schema from the awModel.xml:

<property name="aw:activeVersionLabel">
    <title>Active Version Label</title>
    <type>d:text</type>
    <mandatory>true</mandatory>
    <multiple>false</multiple>
    <index enabled="true">
    <atomic>true</atomic>
        <stored>false</stored> 
        <tokenised>false</tokenised>
    </index>
</property>

other attributes that are <stored>false</stored> and <tokenised>false</tokenised> can be searched on, such as pageSetInstanceType. A possible workaround is to make the "none" string "" instead, which will return all page set definitions regardless of their activeness.

paging @mikeblum

alieblich commented 8 years ago

Moved issue to hpi - https://github.com/tsgrp/hpi/issues/974