[SERVER-6693] Copy-pasting multi-line strings with arrays does not work in shell Created: 02/Aug/12 Updated: 11/Jul/16 Resolved: 06/Aug/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 2.2.0-rc1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Randall Hunt | Assignee: | Zhehao Mao |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Just found that copy paste for arrays [] which do not have an element on the same line as their opening brace does not work. Not sure if this is desired behavior. Example:
|
| Comments |
| Comment by auto [ 06/Aug/12 ] |
|
Author: {u'date': u'2012-08-06T10:30:11-07:00', u'email': u'tad@tadmarshall.com', u'name': u'Tad Marshall'}Message: Merge pull request #279 from zhemao/multiline
|
| Comment by auto [ 06/Aug/12 ] |
|
Author: {u'date': u'2012-08-03T13:15:17-07:00', u'email': u'zhehao.mao@gmail.com', u'name': u'Zhehao Mao'}Message: |
| Comment by Zhehao Mao [ 03/Aug/12 ] |
|
This is an issue with multiline input of lists in general. In isBalanced, we don't check to make sure square brackets are balanced. I've created a patch. |
| Comment by Ian Whalen (Inactive) [ 02/Aug/12 ] |
|
[] fails, whereas () and {} both work. |