Hi guys,
I have migrated data from BugZilla to MantisBT successfully, but I am facing to a strange behavior of description field.
If a line starts by a space, space seems to be replaced by the following code :
&0000057:0000160;
By the way, MantisBT proccesses &0000057:0000160; as a link to another issue.
http://url_mantisbt/view.php?id=57#c160
Any ideas to clean my database ?
Thanks,
Migration data from BugZilla to MantisBT
Moderators: Developer, Contributor
Re: Migration data from BugZilla to MantisBT
MantisBT replaces a # followed by a number by a link to an issue.
~ followed by a number is replaced by a link to a note.
To disable ithis behavior, goto page Manage > Mangae Plugins
Click on link "MantisBT Formatting 1.0a"
Set "MantisBT Links ( Issue/Issuenote )" to Off
~ followed by a number is replaced by a link to a note.
To disable ithis behavior, goto page Manage > Mangae Plugins
Click on link "MantisBT Formatting 1.0a"
Set "MantisBT Links ( Issue/Issuenote )" to Off
Re: Migration data from BugZilla to MantisBT
Hi Atrol,
Actually, the problem do not come from the character #, it is on character space.
Actually, the problem do not come from the character #, it is on character space.
Re: Migration data from BugZilla to MantisBT
By curiosity, I set "MantisBT Links ( Issue/Issuenote )" to Off, and all &0000057:0000160; disappear.
But I want to keep the link function active.
I think, I will check the code =)
Thanks !
But I want to keep the link function active.
I think, I will check the code =)
Thanks !
Re: Migration data from BugZilla to MantisBT
In plugin MantisCoreFormatting, MantisCoreFormatting.php
if( ON == $s_buglinks ) {
$t_string = string_process_bug_link( $t_string );
// $t_string = string_process_bugnote_link( $t_string );
}
The problem come from string_process_bugnote_link.
Too bad that we cannot set/unset bug link and bugnote link on the config page.
if( ON == $s_buglinks ) {
$t_string = string_process_bug_link( $t_string );
// $t_string = string_process_bugnote_link( $t_string );
}
The problem come from string_process_bugnote_link.
Too bad that we cannot set/unset bug link and bugnote link on the config page.