Closed
Bug 149694
Opened 24 years ago
Closed 24 years ago
After importing cert, CA does not appear until restart of CM
Categories
(Core Graveyard :: Security: UI, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: junruh, Assigned: ssaux)
References
()
Details
Attachments
(1 file, 1 obsolete file)
|
3.62 KB,
patch
|
bryner
:
superreview+
|
Details | Diff | Splinter Review |
6/6/02 Win2000 branch build.
1.) Get a cert from the above in house URL, and back it up.
2.) With a new profile, import the cert.
3.) Click on the Authorities tab.
What is expected: To see the CA at the bottom of the list and be able to trust
it.
What happens: The CA does not appear until I close and reopen the Certificate
Manager.
Comment 1•24 years ago
|
||
The information shown in cert manager is calculated by iterating over the
database, which is a slow process. Although we working on reducing the required
time (121916 etc.), it's still slow.
When you import certs, the underlying database changes, and possibly the
contents of any tab could change.
Currently, to minimize the required time, we only update the shown tab, not
updating all tabs.
In order to fix this bug, we were required to update all tabs each time you
import something.
That is a simple fix, but introduces an additional delay after importing.
However, it seems to be reasonable to do that, because importing is not done
often, and display correctness is more important than speed?
I will produce the simple patch after 74339 has landed (because the patch would
conflict).
Depends on: 74339
Comment 2•24 years ago
|
||
This patch has the following changes:
- declared forgotton JS variable certcache
- removed unnecessary code to repeatedly query the nsIX509CertDB service
- whenever we import a user, web site or email recipient certificate,
we refresh the CA tab in addition
Comment 3•24 years ago
|
||
Javi, can you please review?
Comment 4•24 years ago
|
||
Comment on attachment 94182 [details] [diff] [review]
Patch v1
r=javi
Attachment #94182 -
Flags: review+
Comment 5•24 years ago
|
||
Alec, can you please review?
Comment 6•24 years ago
|
||
Comment on attachment 94182 [details] [diff] [review]
Patch v1
Is there a reason you're explicitly setting certcache to null?
Comment 7•24 years ago
|
||
New patch with unnecessary null assignments removed.
Attachment #94182 -
Attachment is obsolete: true
Comment 8•24 years ago
|
||
Comment on attachment 97222 [details] [diff] [review]
Patch v2
sr=bryner
Attachment #97222 -
Flags: superreview+
Comment 9•24 years ago
|
||
fixed on trunk
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•