Self signed ssl I created for localhost cannot be trusted even though I have already imported it to chrome

I generated a certificate using ssl by running the script from the following link: https://gist.github.com/bjanderson/075fadfccdd12623ab935e57eff58eb4

The script ran just fine and I received all the expected files. I’ve imported the ca.crt to my chrome under the trusted root certification authorities but chrome still won’t trust it.

I get the following errors:

Certificate – Subject Alternative Name missing The certificate for this site does not contain a Subject Alternative Name extension containing a domain name or IP address.

Certificate – missing This site is missing a valid, trusted certificate (net::ERR_CERT_AUTHORITY_INVALID).

How do i fix these two issues and get my chrome to trust my self signed certificate?

How do I make jest transpile an imported javascript file in a different directory?

I have a jest project using a directory structure that looks like this

Project A | |- .babelrc |- package.json (with jest config) |  -components   |   |- Card.jsx   -__tests__   |   |- Card.test.jsx  shared | |- .babelrc | |- constants   |   | - user.js 

Card.jsx imports some values from user.js which uses ES6 modules. Card.jsx imports using a relative import path import { settings } from '../../shared/constants/users'. When I run jest, I get the following error when user.js attempts to import from another file:

    import { membershipStatuses } from './orgs';                       ^      SyntaxError: Unexpected token {        3 |        4 |      > 5 | import { settings } from '../../shared/constants/users';         | ^         at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:471:17)       at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:513:25)       at Object.<anonymous> (components/SidenavContactCard.jsx:5:1) 

It seems to me that Jest is not transpiling files in other directories outside of the root of the jest project. How do I configure Jest to make this work?

Jest config in package.json:

"jest": {   "clearMocks": true }, 

I have imported around 90 million unique URLs as new targets and they get deleted with these setting

I have crawled myself quite a few URLs and made them unique

I import them into a fresh project

After a while target URLs of the project get deleted

Here my settings

Are there a maximum amount of URLs file size that GSA ser supports?

Imported target urls file is 6.13 GB

The import process is being success because i see target urls file in projects folder

The GSA ser starts with around fetching 16k urls

And today when i wake up after like 10 hours i see target urls in project folder got reset and there are only several megabytes target urls

I am trying again

the fresh project starts as 

Loaded 16777 URLs from imported sites

And damn target urls already got reset

Imported Image Style Edit Form Error

I am getting an error accessing the edit form for imported image styles.

*Tested on Drupal 8.6.13 and 8.7.3

  1. Create image style in UI.
  2. Export image style.
  3. Delete image style in UI.
  4. Import image style.
  5. Visit image style edit form.

(also true for image styles not created in UI)

Error:

Symfony\Component\Routing\Exception\InvalidParameterException: Parameter "image_effect" for route "image.effect_edit_form" must match "[^/]++" ("" given) to generate a corresponding URL. 

I see the same issue reported here for the Retina Image project: https://www.drupal.org/project/retina_images/issues/2683383, but I have not found any reports for Drupal core.

Is there an issue report open for this? How can I resolve this error?

Node Export being downloaded as a .sh file and unable to be imported

In my Drupal 7 project, I have some content of a custom content-type (page) that I need to import into another environment.

When I go to this content instance, I select on Node Export, which then gives me the option to download the file. When I download the file, it is downloaded as -.sh. In my other environment where I want to import this content using a Node Export Import, it says that that file isn’t allowed..

How is it possible that you aren’t able to use a Node Export for a Node Export Import??? That makes absolutely zero sense.

Imported dictionary in exec but it says, that dictionary is not defined

When I run this code on Interpreter it works fine, but when I run this code from file it gives me an error that ndictionary is not defined.

    #! /usr/bin/ env python3      _file_name = phonebook      exec("from "+_file_name+" import dictionary; ndictionary = dictionary; print(dictionary)")     dict = ndictionary 

It does prints the dictionary but it says that ndictionary is not defined.

How does the wallet prioritise keypool addresses imported via importmulti?

I want to use importmulti to import 100 addresses from an xpub descriptor.

If I set keypool: true as one of the arguments the keys get added to the keypool.

How does the wallet prioritise which keys it generates when calling getnewaddress? Will it prioritise the imported addresses or do I have to request the imported address via the label argument in getnewaddress? What if I don’t add a label argument to the importmulti command?

How does the wallet prioritise keypool addresses imported via importmulti?

I want to use importmulti to import 100 addresses from an xpub descriptor.

If I set keypool: true as one of the arguments the keys get added to the keypool.

How does the wallet prioritise which keys it generates when calling getnewaddress? Will it prioritise the imported addresses or do I have to request the imported address via the label argument in getnewaddress? What if I don’t add a label argument to the importmulti command?

Migrate Update already imported content from the Json source

I have two categories(JSON source) which contain the duplicate products. If we see it reciprocally it means a product can have multiple categories but the source data is coming with Categories along with their products.

Here’s the link of the two source JSON files https://gist.github.com/naveenvalecha/427e32291c0247553bba9586448e4224

I’m traversing the JSON data using the JSONPATH migrate_plus data parser plugin(https://www.drupal.org/node/3007709) with item_selector $ .._element[*] which is returning the arrays of all products under a respective category json file.

If a product has multiple categories. It does exist in both of the category json files. When I import the products. It doesn’t merge the category with the field_category field. The migration template(cf_product.yml) is also attached in the gist https://gist.github.com/naveenvalecha/427e32291c0247553bba9586448e4224