Error adding Text to a DataResource

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error adding Text to a DataResource

Michel Dielissen
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


Reply | Threaded
Open this post in threaded view
|

Re: Error adding Text to a DataResource

Scott Gray
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.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Error adding Text to a DataResource

Michel Dielissen
Hi Scott,

Thanks very much for your quick response!
It works fine now. You made my day :-))

Michel



Scott Gray wrote
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 <michel@dielissen.info> 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.
>
>