Fwd: [Commits] svn commit: 9238

Svetoslav Nedkov snedkov at asteasolutions.com
Thu Feb 4 10:51:23 UTC 2010


Hi Antranig,

To reproduce the error you can open

http://build.fluidproject.org:8095/engage/artifacts/view.html?db=mccord&accessNumber=II-142445.0

Or the corresponding URL on a local machine.

When mapping of the retreived McCord document in Engage.js happens there 
is a missing field - artefacts.artefact.links.type.category that causes 
the error.

Regards,

Svetoslav


Antranig Basman wrote:
> Hi there Sveto - I have added more test cases to FluidJSTests in an 
> attempt to reproduce this issue but cannot do so so far. Do you think 
> you could supply a patch to the JIRA for FLUID-3489 that shows the 
> exception? Also, I think we may have a problem in general in that code 
> to implement escaping rules during EL traversal have not been 
> implemented and so a segment with the value "I1-142445.0" will 
> actually be interpreted as two segments.
>
> On 03/02/2010 02:46, Svetoslav Nedkov wrote:
>> Hi Colin,
>>
>> The problem persists with the latest revision. I think that what happens
>> in fluid.model.getPenultimate is that the segment is not found on line
>> 691, the create parameter is not true and on line 694 root becomes
>> undefined. This value is then returned on line 683 and in
>> fluid.model.getBeanValue pen is undefined causing an exception.
>>
>> This happens when trying to normalize the model for artifact with access
>> number "|II-142445.0".|
>>
>>
>> Regards,
>>
>> Svetoslav
>>
>>
>> Colin Clark wrote:
>>> Hey Sveto,
>>>
>>> Antranig mentioned to me that this a bug that crept into Infusion's 
>>> trunk recently, and that it should be fixed at r9222. Can you update 
>>> and verify that this fixes the issue? If not, we'll get it fixed.
>>>
>>> Colin
>>>
>>> Begin forwarded message:
>>>
>>>
>>>> From: Subversion Database Process<svn at thor.atrc.utoronto.ca>
>>>> Date: February 2, 2010 5:01:28 PM EST
>>>> To:commits at fluidproject.org
>>>> Subject: [Commits] svn commit: 9238
>>>>
>>>> ------------------------------------------------------------------------ 
>>>>
>>>> r9238 |snedkov at asteasolutions.com  | 2010-02-02 17:01:28 -0500 
>>>> (Tue, 02 Feb 2010) | 1 line
>>>> Changed paths:
>>>>    M 
>>>> /scratchpad/objectCodeEntry/fluid-engage-core/framework/js/Engage.js
>>>>
>>>> ENGAGE-293: Code entry screen - it seems that after the last change 
>>>> on fluid.model.getPenultimate the mapping of the Engage database 
>>>> model fails if the corresponding field is not present in the 
>>>> document, to maintain a running example of the code entry screen 
>>>> the easy path to just comment the offending field from the mapping 
>>>> was chosen.
>>>> ------------------------------------------------------------------------ 
>>>>
>>>> _______________________________________________________
>>>> Commits mailing list -Commits at fluidproject.org
>>>> To unsubscribe, change settings or access archives,
>>>> seehttp://fluidproject.org/mailman/listinfo/commits
>>>>
>>>
>>> ---
>>> Colin Clark
>>> Technical Lead, Fluid Project
>>> http://fluidproject.org
>>>
>>>
>>
>




More information about the fluid-work mailing list