The constructor for netscape.security.extensions.GenericASN1Extension sets the NAME fieldm, which is static. The second and subsequent calls to the constructor override the static value. This value is used to set the Extenions into a static map, so it is likely that this is working due to luck. If there is only ever one Generic extension, you would not see the problem, but with two or more Extensions, you would have a hard-to-decipher problem where the processing for one extension would use the definition for the other.
Fixing this is going to take a bit of effort, as the current assumption is that every extension has a single Class that implmenets uit, and they are mapped by Name and OIDs. Thus, the fix is tied in with ticket 40 and ticket 81
Metadata Update from @admiyo: - Issue assigned to vakwetu - Issue set to the milestone: UNTRIAGED
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/714
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Metadata Update from @dmoluguw: - Issue close_status updated to: migrated - Issue status updated to: Closed (was: Open)