AnsweredAssumed Answered

Hidden Transitions and WorkDesk 4.1.1.

Question asked by 7joeblack8 on Nov 18, 2013
Latest reply on Nov 26, 2013 by 7joeblack8
Hi,

I precise i'm using an Alfresco 4.2.e with Activiti Engine, accordingly with the last WorkDesk as Subject.

i can't figure out why the bpm:hiddenTransitions field keeps breaking up my workflows at first step, even if i delete all choiches of the multivalue (and i can see it's not mandatory).


The previous releases just didn't care of that field, they even ignored it on rendering page.


I tryied to understand where that multiple field, which hasn't constraints at all, should be parsed with no luck.
I also tryed imputing common task states as "Ok, Cancel, TimedOut" in all cases…every time same error on alfresco.log.

<javascript>Caused by: org.alfresco.service.cmr.repository.datatype.TypeConversionException: There is no conversion registered for the value:
   value class: org.json.JSONArray
   to class: java.lang.String
   value: ["canceled"]</javascript>


As i can see here:
<javascript>https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/data-model/source/java/org/alfresco/service/cmr/repository/datatype/TypeConverter.java</javascript>

this is the root of exception:

<javascript>// Find the correct conversion - if available and do the converiosn
        Converter<Object, T> converter = getConverter(value, c);
        if (converter == null)
        {
            throw new TypeConversionException(
                    "There is no conversion registered for the value: \n" +
                    "   value class: " + value.getClass().getName() + "\n" +
                    "   to class: " + c.getName() + "\n" +
                    "   value: " + value.toString());
        }</javascript>

How could i register or inspect conversions?
Is this JBPM field which is here in Activiti for bug?
Anybody has any clue? I would like to use the last WorkDesk!


thanks

Outcomes