Browsing this Thread:   1 Anonymous Users


 Bottom   Previous Topic   Next Topic  Register To Post



[BUG] Add Atribute
Just popping in
Joined:
3/15 12:08
Group:
Registered Users
Posts: 2
Level : 1; EXP : 2
HP : 0 / 0
MP : 0 / 0
Offline
First I'm sorry for any English errors. Second I didn't find any specific bur report place.

I'm not sure of this but in AddAtribute.cs of Dicom Editor, in line 205 we have:

if((!attributeTag.StartsWith("(")) && (!attributeTag.StartsWith("(")))
{
attributeTag = "(" + attributeTag + ")";
}


Shouldn't we have:


if((!attributeTag.StartsWith("(")) && (!attributeTag.EndsWith(")")))
{
attributeTag = "(" + attributeTag + ")";
}


If I'm wrong i apologize, but i thought that it is wrong and i prefer reporting it to be sure.

Thank you

Cheers

Posted on: 3/30 17:47
Transfer the post to other applications Transfer


Re: [BUG] Add Atribute
Webmaster
Joined:
2006/10/12 14:45
From Best, Netherlands
Group:
Webmasters
Registered Users
Posts: 236
Level : 14; EXP : 36
HP : 0 / 334
MP : 78 / 3810
Offline
We have the Ticket System on the website which you can use to report PRs and CRs. From a first look you are right that this is indeed a bug. Can you please submit a ticket for this, then the developers will pick this up.
Did you notice this bug when using the application?

Floris.

Posted on: 3/31 9:34
Transfer the post to other applications Transfer


Re: [BUG] Add Atribute
Just popping in
Joined:
3/15 12:08
Group:
Registered Users
Posts: 2
Level : 1; EXP : 2
HP : 0 / 0
MP : 0 / 0
Offline
ticket submitted.

And it's better this way, i think:

if(!attributeTag.StartsWith("("))
{
attributeTag = "(" + attributeTag;
}
if (!attributeTag.EndsWith(")"))
{
attributeTag = attributeTag + ")";
}

I separate in two conditions because the user can introduce only one of the parenthesis. You can add another automatic corrections: remove duplicated parenthesis or introduce the '.' in case of fault for example.


that's what I submitted.


No. I'm using the source code. I'm playing with it and find this little bug. Nothing serious.

Posted on: 3/31 18:22
Transfer the post to other applications Transfer



 Top   Previous Topic   Next Topic

 Register To Post


You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]