Error adding Text to a DataResource
Posted by Michel Dielissen on
URL: http://ofbiz.116.s1.nabble.com/Error-adding-Text-to-a-DataResource-tp145599.html
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