red1.org Forum Index red1.org
Nihili est - in vita priore ego imperator romanus fui
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Library System - Issues and Bugs

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    red1.org Forum Index -> College ERP Project
View previous topic :: View next topic  
Author Message
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Tue Nov 21, 2006 3:10 pm    Post subject: Library System - Issues and Bugs Reply with quote

khairin wrote:
New problem came up today. The librarian cannot add new books into the catalogue.

Succeeded only up to adding new title.

Failed when adding new item for the new title.

Problem seemed to occur also when adding new item to existing old titles.


Actions Checked on own instance, no problem, item can be created. Checked on college instance, problem exist.
Reverting back to own instance to id which tables show ok. Lib_Book_Item.
In there there is item_id that is auto set somewhere else, everytime a new book is added. Problem is that id increments from some last count, but it is wrong.
Have to locate the source of that by tracing jsp that sets item_id.
Found and set break at Item.java.setId(id) and found it to increment whenever we add new id. finally solved it when encounter DualItem() which does the nextID increment from a hard c data file in C:\Library.

So that is the cause becos we did not copy over the library from C:\folder the last time. How many new records created since then last week? If no new items created i think ok. Actually it can be solved by going into C:\library\data\dual > item (open that file and changed the figure in it to next ID or larger number so that it wont overlap with old running number and so cannot be new item. Another way is just to delete the dual files so that it fails to get next id and return a UID instead but i m not sure if it creates impact on other areas. So just copy over C:\Library contents to new server.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
khairin
Regular


Joined: 27 Apr 2005
Posts: 57

PostPosted: Wed Nov 22, 2006 2:12 pm    Post subject: Reply with quote

we've done all the steps suggested above.

since then, no problem in adding new items.

we'll continue to monitor for any problem or impact on other areas.

thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    red1.org Forum Index -> College ERP Project All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group