How to resolve duplicate comments in defect module in QC 10
Tags:
Question ID: 106371
0
0

Hi,
I am having an issue in QC 10 where a defect commemt is duplicated for all users..Any help is really appreciated.

Displaying image002.png

Marked as spam
Posted by (Questions: 3, Answers: 15)
Asked on September 10, 2015 1:28 am
37 views
Answers (15)
1
Private answer

Unfortunately that is not a function of the automail that is available and is gneraly not needed as it is not recommended to repeatedly add and remove users from projects so as to not break linkage and history associated with the user.

Marked as spam
Posted by (Questions: 0, Answers: 770)
Answered on September 28, 2015 1:49 pm
0
Private answer

First, Let me state the obvious, QC10 is a very old version. The last patch for this version was released in March of 2013. Support for that version has ended. It should be upgraded to a ore modern version of the product.

Now, to address your issue of duplicate comments. More than likely, some workflow code has been added that erroneously causes this behavior. To test the theory of the origin of the issue, create a new empty project, (**not** as a copy of an existing project). Then try creating a defect and adding comments. I suspect you will see the issue does not exist in the new project. This will tell you that your production project has some workflow that is causing the issue.

Marked as spam
Posted by (Questions: 6, Answers: 167)
Answered on September 14, 2015 7:15 pm
0
Private answer

Thanks Cap. I will try that.

Marked as spam
Posted by (Questions: 3, Answers: 15)
Answered on September 14, 2015 7:23 pm
0
Private answer

Hi Captain,
Where in the workflow do I look to resolve this issue ?

Thanks,
Tolu

Marked as spam
Posted by (Questions: 3, Answers: 15)
Answered on September 14, 2015 7:37 pm
0
I don't have a QC 10 server available, but it is similar to current versions: Tools Project Customization>Workflow>Script Editor>Defects module Script> then look in the Bug_FieldCanChange or Bug_FieldChange subs. Or search the entire workflow for code that affects the field named ''BG_DEV_COMMENTS''. That is where you should start. You will need project administrator permissions to access the project customization area.
( at September 14, 2015 8:10 pm)
0
Thanks Captain. I'll give it a try
( at September 14, 2015 8:18 pm)
0
Private answer

Hi Captain,
While trying to resolve the duplicate comment issue, I ran into another problem (please see attached). The first 2 screenshots are from the Workflow area and the last one is the defects module screen. These screens are from the test system. The issue exists in the prod system. I did something in the workflow area and now some data is not displaying in the defect module screen in the prod system (getting 'data hidden by administrator' message).

Question: What relationship do the 2 first screens have with the defect screen ? I noticed only 3 fields are made visible but on the defect screen, all fields are visible.

I really appreciate your help. Thanks

Marked as spam
Posted by (Questions: 3, Answers: 15)
Answered on September 16, 2015 10:42 pm
0
Private answer

I don't know about the script generator. Now your workflow code is really suspect. Just look in the script editor and sort out the code in there. Don't trust the script generator, especially for modifications, maybe for net new code generation, but not for edits.

Marked as spam
Posted by (Questions: 6, Answers: 167)
Answered on September 17, 2015 1:57 pm
0
Private answer

Hi Captain,
I resolved the issue. Thanks to you ! I have another issue. When new users are added in QC, the users are not getting notification email. I have set AUTO_MAIL_USER_NOTIFICATION = Y in site admin but still not resolved. What do I need to set for this to occur ?

Thanks much

Marked as spam
Posted by (Questions: 3, Answers: 15)
Answered on September 24, 2015 6:44 pm
0
Has this been done: 1)Log into Quality Center siteAdministrator 2) Click Site Configuration tab 3) Click Settings down arrow button 4) Click Set Mail Protocol 5) Click the radio button for the SMTP server and enter the correct IP address or naming convention of the Server where SMTP services are running. 6) Click Test... Add an email to ''send to'' ''test issuccessful'' should appear. 7) After done with the test - click OK 8) Log out of QC Site Admin and restart the QC server
( at September 24, 2015 7:44 pm)
0
Private answer

Let me try that first. Thanks

Marked as spam
Posted by (Questions: 3, Answers: 15)
Answered on September 24, 2015 8:42 pm
0
Private answer

Is the automail function for only the defects module ? What if a new user gets added to a project or QC ?

Thanks

Marked as spam
Posted by (Questions: 3, Answers: 15)
Answered on September 25, 2015 9:13 pm
0
Private answer

Automail will work for notifying the system admin of users being added to the system and projects (it should notify the project admin of changes). Make sure that the automail is enabled on the project within the site project tab of site administration as well (sometimes the from address needs to be added to the site configuration tab for the application and also within the dataconst table for the individual project (it can be found by expanding the project within the site project tab) and then the parameter would need to be added through the use of SQL query statements.

It would be better to create new entries for the various changes and issues being seen and experienced rather than continue to add to a pre-existing and unrelated issue, so that the scope of the the original question/ issue can be maintained and resolved easier. By creating a separate thread it can also possibly help others who may be having the same issues and get resolution suggestions easier as users will see the title in the listing and they can find the issues within a basic search easier as well.

I also mirror the sentiments of upgrading to a more recent version to not only garner more feature availability but also to boost the support available (not only in the availability of patches available but also in the support more the more modern and non-discontinued/unsupported OS's both client and applitcation/ server and newer databases.

Hope this helps,
Dan

Marked as spam
Posted by (Questions: 0, Answers: 770)
Answered on September 28, 2015 1:35 pm
0
Private answer

Thanks Dan. So it seems automail only notifies the system admin of users being added to the system and projects. Is it possible to have notification sent to new users who have just been added to QC or a project ?

Marked as spam
Posted by (Questions: 3, Answers: 15)
Answered on September 28, 2015 1:43 pm
0
Private answer

Thanks Dan

Marked as spam
Posted by (Questions: 3, Answers: 15)
Answered on September 28, 2015 1:53 pm
0
Private answer

Hey Dan. Another question. The 'Forgot Password' function on the QC login page is also not working. Do you have any insight or suggestion for that ?

Marked as spam
Posted by (Questions: 3, Answers: 15)
Answered on September 28, 2015 2:23 pm
0
Private answer

It may have been disabled in the site configuration tab within site administration, and it may have also been disabled through your authentication system if you are using something such as LDAP servers for authentication (to keep users from changing their passwords and throwing off synchronization to the authentication servers or for added security, as having the forgot password linkage working adds a level of vulnerability.

Once again, I please stress that you create new threads/ questions, with appropriate and associated tagging during the opening of the thread, for these types questions/ issues as they are completely unrelated to the original question or the scope of it. This way you not only help yourself get a quicker and more thorough resolution, but also since this is an open forum, it allows others to easily search for and find such solution should they encounter the same issue or have the same question. It makes it easier for all, and the separate threads insure that they are categorized and seen in search engines (such as Google and Bing) making the community better and more helpful for all.

Thanks, Dan

Marked as spam
Posted by (Questions: 0, Answers: 770)
Answered on September 28, 2015 2:40 pm
0
Private answer

Sure. I'll do that going forward. Thanks

Marked as spam
Posted by (Questions: 3, Answers: 15)
Answered on September 28, 2015 2:49 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top