Welcome, Guest
Please Login or Register.    Lost Password?

Cannot add field to Document type
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Cannot add field to Document type
#3808
Cannot add field to Document type 6 Months, 1 Week ago Karma: 0
When I try to add a Document type it adds the type correctly but I cannot add any fields. Its give me a message that the "Field Label is required".

I created a Document type call Minutes that we want to assign to all of the Commission Meeting Minutes.

I create a Field Name called Date - we want to retrieve them by the date of the meeting.

I go to the English Field Label and put in Date.

I give it a field size of 10 and a field type of Text Field.

I click the add button and I get that error.

I've tried different field names/labels, field types but to no avail.

I'm running OWL 1.00 on a Windows 2003 server.
Robert Phillips
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3809
Re:Cannot add field to Document type 6 Months, 1 Week ago Karma: 28
Hi,

Get the latest doctype.php file from cvs:

owl.cvs.sourceforge.net/viewvc/owl/owl-1.00/admin/

B0zz
Owl DEV Team
Moderator
Posts: 2225
graph
User Offline Click here to see the profile of this user
Gender: Male b0zzit Location: Ottawa, Ontario, Canada
The administrator has disabled public write access.
 
#3810
Re:Cannot add field to Document type 6 Months, 1 Week ago Karma: 0
Yes that fixed the issue. I was able to add the field. Now when I try to add a document with Minute document type and enter the Date value is does not save the information.
Robert Phillips
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3811
Re:Cannot add field to Document type 6 Months, 1 Week ago Karma: 28
Works for me.

So for starters, I think that you may have many copies of that document type because of the bug we just fixed.

So lets reset the 4 tables involved.


mysql> delete from doctype where doc_type_id > 1;
Query OK, 4 rows affected (0.00 sec)

mysql>
mysql> delete from docfields;
Empty set (0.00 sec)

mysql> delete from docfieldslabel;
Empty set (0.00 sec)

mysql> delete from docfieldvalues;
Empty set (0.00 sec)

And try adding a new Doctype with New fields and a New document using that doctype. Does that work?

Let me know,

B0zz
Owl DEV Team
Moderator
Posts: 2225
graph
User Offline Click here to see the profile of this user
Gender: Male b0zzit Location: Ottawa, Ontario, Canada
The administrator has disabled public write access.
 
#3815
Re:Cannot add field to Document type 6 Months, 1 Week ago Karma: 0
Thank you, that did fix the problem.

Should you be able to search for those fields?
Robert Phillips
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3817
Re:Cannot add field to Document type 6 Months, 1 Week ago Karma: 28
If you have checked the column as searchable when you defined the column in your document type, then yes you should be able to search. As long as you don't use the Search within check box.

B0zz
Owl DEV Team
Moderator
Posts: 2225
graph
User Offline Click here to see the profile of this user
Gender: Male b0zzit Location: Ottawa, Ontario, Canada
The administrator has disabled public write access.
 
Go to topPage: 1

Ad Block