Update body of note from outside, but not display in OTRS

Moderator: crythias

Locked
bhcuong2008
Znuny newbie
Posts: 10
Joined: 09 Mar 2013, 15:22
Znuny Version: 3.2.2
Real Name: Cuong
Company: N/A

Update body of note from outside, but not display in OTRS

Post by bhcuong2008 »

Hi,

I face an issue, but can't figure out this. I added an internal note to a ticket. After that, I wanted to change its body (content), then I modify its content with db admin tool. If using query statement in SQL Box of OTRS to read it (select * from article where id = xxx), it displays right content. But when viewing in Ticket Zoom, it only shows the old content, I dont see any new content of that note.

Thanks,
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Update body of note from outside, but not display in OTR

Post by crythias »

you need to update the blob in article_plain (yeah, I know.)
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Update body of note from outside, but not display in OTR

Post by jojo »

you should not write manually in the database.

Also cache updates will be needed. Only use API for writing data to OTRS DB
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
bhcuong2008
Znuny newbie
Posts: 10
Joined: 09 Mar 2013, 15:22
Znuny Version: 3.2.2
Real Name: Cuong
Company: N/A

Re: Update body of note from outside, but not display in OTR

Post by bhcuong2008 »

Hi crythias,

I dont see any entry in article_plain with article_id that I want to modify.

@jojo: I deleted cache, also restart apache, mysql server. I did it yesterday. Until now, it's not been updated.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Update body of note from outside, but not display in OTR

Post by jojo »

again, manipulating the database directly is not supported
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
bhcuong2008
Znuny newbie
Posts: 10
Joined: 09 Mar 2013, 15:22
Znuny Version: 3.2.2
Real Name: Cuong
Company: N/A

Re: Update body of note from outside, but not display in OTR

Post by bhcuong2008 »

I found it :). It's in article_attachment.

@jojo: I know. I do it very limited.

Thank all,
Locked