Skip to content

Commit

Permalink
#4820 Merge latest from mct4820.
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesh88 committed May 6, 2022
2 parents 914a70b + e0e03cc commit a3925c2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"d3-selection": "1.3.x",
"eslint": "8.13.0",
"eslint-plugin-compat": "4.0.2",
"eslint-plugin-playwright": "0.8.0",
"eslint-plugin-playwright": "0.9.0",
"eslint-plugin-vue": "8.5.0",
"eslint-plugin-you-dont-need-lodash-underscore": "6.12.0",
"eventemitter3": "1.2.0",
Expand Down
4 changes: 2 additions & 2 deletions src/api/annotation/AnnotationAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ export default class AnnotationAPI extends EventEmitter {
const originalPathObjects = await this.openmct.objects.getOriginalPath(domainObjectKeyString);
const originalContextPath = this.openmct.objects.getRelativePath(originalPathObjects);
const namespace = domainObject.identifier.namespace;
const location = this.openmct.objects.makeKeyString(domainObject.identifier);

// const location = this.openmct.objects.makeKeyString(domainObject.identifier);
const location = originalContextPath;
const type = 'annotation';
const typeDefinition = this.openmct.types.get(type);
const definition = typeDefinition.definition;
Expand Down
10 changes: 5 additions & 5 deletions src/plugins/persistence/couch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Add a line to install the CouchDB plugin for Open MCT:
```
openmct.install(openmct.plugins.CouchDB("http://localhost:5984/openmct"));
```
1. Start Open MCT by running `npm start` in the `openmct` path.
2. Navigate to http://localhost:8080/ and create a random object in Open MCT (e.g., a 'Clock') and save. You may get an error saying that the object failed to persist - this is a known error that you can ignore, and will only happen the first time you save - just try again.
3. Navigate to: http://127.0.0.1:5984/_utils/#database/openmct/_all_docs
4. Look at the 'JSON' tab and ensure you can see the specific object you created above.
5. All done! 🏆
2. Start Open MCT by running `npm start` in the `openmct` path.
3. Navigate to http://localhost:8080/ and create a random object in Open MCT (e.g., a 'Clock') and save. You may get an error saying that the object failed to persist - this is a known error that you can ignore, and will only happen the first time you save - just try again.
4. Navigate to: http://127.0.0.1:5984/_utils/#database/openmct/_all_docs
5. Look at the 'JSON' tab and ensure you can see the specific object you created above.
6. All done! 🏆

0 comments on commit a3925c2

Please sign in to comment.