You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/04/29 17:25:50 UTC

[GitHub] xristy opened a new issue #910: Fauxton "Edit string" dialogue blank for certain kinds of keys

xristy opened a new issue #910: Fauxton "Edit string" dialogue blank for certain kinds of keys
URL: https://github.com/apache/couchdb-fauxton/issues/910
 
 
   If a key starts with `@` or contains a `:` then the _Edit string_ dialogue in Fauxton (CouchDB v. 2.0.0) displays blank with title **Edit Value**, and **Cancel** and **Modify Text** buttons (see attached screenshot). Here's a simple document that illustrates the issue:
   
   	{
   	  "_id": "93a894752babfcb3fd07989762001a9e",
   	  "_rev": "2-2b6698e2d720a3476d9c857fafe50abb",
   	  "@graph": [
   		{
   		  "rdfs:label": [
   			{
   			  "@language": "bo-x-ewts",
   			  "@value": "grub thob"
   			},
   			{
   			  "@language": "en",
   			  "@value": "mahasiddha"
   			}
   		  ],
   		  "@id": "top:T10MS14283",
   		  "@type": "top:Topic",
   		  "note": {
   			"@id": ":T10MS14283_Note1",
   			"@type": "Note",
   			"note_content": {
   			  "@language": "en",
   			  "@value": "this topic is applied in reference to a siddha or mystic adept, singularly or in any of their enumerated groupings"
   			}
   		  },
   		  "top:status": "released"
   		}
   	  ]
   	}
   
   Put the cursor in the key or value fields for an item such as `"@value"` or `"top:status"` and then select the  `Edit string` button on the left of the item and a blank dialogue will appear:
   
   <img width="580" alt="screen shot 2017-04-29 at 12 09 10 pm" src="https://cloud.githubusercontent.com/assets/3542294/25557315/c640b0b8-2cd4-11e7-9255-4399ee6f7191.png">
   
   Remove the `@` or `:` and then select the `Edit string` button on the left of the item and a _normal_ **Edit Value** dialogue  will open:
   
   <img width="585" alt="screen shot 2017-04-29 at 12 24 33 pm" src="https://cloud.githubusercontent.com/assets/3542294/25557436/e41b53f2-2cd6-11e7-9d3b-8ed0624e2964.png">
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services