ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pritam Kute (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-7526) View Quote screen is broken
Date Tue, 21 Jun 2016 16:45:58 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-7526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342141#comment-15342141
] 

Pritam Kute commented on OFBIZ-7526:
------------------------------------

I found that this issue is because of the commit at revision 1749488.

We have XSD http://ofbiz.apache.org/dtds/widget-common.xsd which includes the definition for
'if-compare' which has a default value for type attribute as 'String'. It is not getting parsed
properly.
If we explicitly add 'type' attribute to if-compare, it works.

{code}
<if-compare operator="equals" value="QUO_CREATED" type="String" field="quote.statusId"/>
{code}

> View Quote screen is broken
> ---------------------------
>
>                 Key: OFBIZ-7526
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7526
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Pritam Kute
>            Priority: Blocker
>
> Steps to regenerate:
> 1) Login to ordermgr.
> 2) Click on Quotes and find quotes.
> 3) Click on any quote in the search result to go to the overview screen.
> You can see screen is broken with error:
> [java] 2016-06-21 18:46:33,073 |http-nio-8443-exec-4 |ObjectType                    |W|
The specified type [] is not a valid class or a known special type, may see more errors later
because of this: 
>      [java] 2016-06-21 18:46:33,073 |http-nio-8443-exec-4 |AbstractModelCondition   
    |W| Error with comparison in if-compare between field [quote.statusId] with value [QUO_CREATED]
and value [QUO_CREATED] with operator [equals] and type []: Type "" specified for compare
not supported.
>      [java] 2016-06-21 18:46:33,073 |http-nio-8443-exec-4 |ModelScreen              
    |E| Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Error with comparison in if-compare between field [quote.statusId]
with value [QUO_CREATED] and value [QUO_CREATED] with operator [equals] and type []: Type
"" specified for compare not supported.. Rolling back transaction.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message