Re: Error adding Text to a DataResource

Posted by Scott Gray on
URL: http://ofbiz.116.s1.nabble.com/Error-adding-Text-to-a-DataResource-tp145599p145600.html

Hi Michel

I had a look and there was a bug in the code, I've fixed this in rev.
527866.

Thanks
Scott

On 12/04/07, Michel Dielissen <[hidden email]> wrote:

>
>
> Hello, I can use some help with the following.
>
> When I try to add Text (Content\DataResource\Search\Select my
> DataResource\Text tab) to a DataResource I just created I get the message:
>
> The Following Errors Occurred:
> * In set-nonpk-fields a value was not found with the specified valueAcsr:
> lookedUpValue, not setting fields
>
> I use a clean install of OFBiz (rev. 524772) which I build with "ant
> run-install" (on Windows XP).
>
> I created a new DataResource with the fields:
> - Data Resource Type Id = LongText
> - Data Template Type Id = No Template
> - Status ID = In Progress
> - Data Resource Name = MyDataResourceName
> - Locale String = en_US
> - Mime Type Id = text/html - HTML Text
> - Is Public = Yes
> The other fields which I not mentioned are empty.
>
> Maybe it has something to do with the Status ID field which is empty with
> the "store_policies" example (and which I can edit)? But I checked it and
> found the Status "In_Progress" exists in the StatusItem table.
>
> I want to make new Content just like the "store_policies" example so I:
> 1. create a DataResource
> 2. create a Text with that DataResource (which fails as described above)
> 3. Create a Content record
> 4. Create a Association to the DataResource
> Am I missing something?
> I red the documentation (Content Management Overview and Content Manager
> in
> the Manager References)
>
> Any ideas?
> Thanx a lot!
>
> Michel
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Error-adding-Text-to-a-DataResource-tf3564052.html#a9954867
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>