Login  Register

Re: Users - xml file import problems. Jacopo?

Posted by David E. Jones on Dec 01, 2005; 8:01am
URL: http://ofbiz.116.s1.nabble.com/Users-xml-file-import-problems-Jacopo-tp136629p136631.html


The patch that I applied was the one attached to OFBIZ-595, but  
perhaps not everything made it through. I just re-applied the patch  
to my latest checkout (which anyone can play with if they'd like) and  
if looks like some stuff in the services.xml file and the  
WebToolsServices.java file didn't make it through. There is also an  
error about the end of the file saying the "patch unexpectedly ends  
in middle of line" and that the patch is malformed. It may be that  
not having an empty line at the end of the file is causing problems,  
and it look like the last file in the set is the EntityImport.ftl  
file, so maybe something there didn't make it through.

Okay, nevermind about the files I mentioned above that had changes  
after re-applying the patch. It just screwed them up by appending the  
full file to the end of the existing file.

-David


On Nov 30, 2005, at 1:57 AM, Jacopo Cappellato wrote:

> Hans,
>
> thanks for the report.
>
> It seems that David has only partially committed a wrong (older)  
> patch instead of the one attached to OFBIZ-595.
> If you apply that patch everything should work fine.
>
> David, could you please verify what went wrong?
>
> Thanks,
>
> Jacopo
>
>
> Hans Bakker wrote:
>> when importing xml files in the webtools component i get the  
>> problem below....going back to version 6209 resolves the  
>> problem.... Expression messages is undefined on line 50, column 10  
>> in EntityImport.ftl. The problematic instruction: ---------- ==>  
>> list messages as message [on line 50, column 3 in  
>> EntityImport.ftl] ---------- Java backtrace for programmers:  
>> ---------- freemarker.core.InvalidReferenceException: Expression  
>> messages is undefined on line 50, column 10 in EntityImport.ftl.  
>> at freemarker.core.TemplateObject.assertNonNull
>> (TemplateObject.java:124) at freemarker.core.IteratorBlock.accept
>> (IteratorBlock.java:93) at freemarker.core.Environment.visit
>> (Environment.java:196) at freemarker.core.MixedContent.accept
>> (MixedContent.java:92) at freemarker.core.Environment.visit
>> (Environment.java:196) at
>> ---------------------------------------------------------------------
>> ---
>>  _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

smime.p7s (3K) Download Attachment