Aqua Data Studio 14.0.3
Operating Environment: Windows 8
Database : MongoDB 2.4.6
Connect to MongoDB->Right click on Collections->Create Collections->Enter Collection name "test"-> Switch to Storage tab, check Capped option->Now Go to Storage Size field under options on same tab and delete the entire field value-> Switch to Preview Sql Tab->Message will be displayed-> Again Switch to Storage tab-> Now in Storage Size field Click immediate before alphabet "B" and enter some value, make sure to have single space before and after size value ->Switch to Preview Sql tab ,a Message "/* Required: Size for capped collection */" will be displayed.You will observe that now no value will be accepted by ADS once we delete "Storage Size" field and then again try to enter values in same fashion.
Whenever we have space before the value, system resets values but only units are set and not size, while resting values we have to make sure that either we reset to default behavior "0 Bytes " or we don't have space before Bytes keyword.
This will work fine if we don't have space at first place but if accidentally we clicked before alphabet "B" and entered some value then its hard to figure out why its not accepting any value.
>> You will observe that now no value will be accepted by ADS once we delete "Storage Size" field >>
This is not entirely correct. Once you click on the drop down, you can see a place to enter the size. What you are seeing is the result after the conversion.
Can you not see the drop down and the place to enter size as in the attached screenshot?
@Tariq yes i can see drop down but
When we land on this page there is no hint of drop down over here. Once we click on the field given the size of the screen you hardly look at R.H.S and start updating field and if we don't enter data in right format its not set to default behavior.
Can we have arrow symbol over there which let user know about drop down.
@Tariq yes i can see drop down but
When we land on this page there is no hint of drop down over here. Once we click on the field given the size of the screen you hardly look at R.H.S and start updating field and if we don't enter data in right format its not set to default behavior.
Can we have arrow symbol over there which let user know about drop down.
To reproduce the problem, you simply needed to enter a value like " 100 Bytes" (i.e. with leading spaces). Deleting the default value was not the cause of the problem.
The parsing code for the File Size component didn't handle leading, embedded, and trailing spaces. It is now fixed.
To reproduce the problem, you simply needed to enter a value like " 100 Bytes" (i.e. with leading spaces). Deleting the default value was not the cause of the problem.
The parsing code for the File Size component didn't handle leading, embedded, and trailing spaces. It is now fixed.
Issue #10521 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 14.0.3-4 |
No time estimate |
>> You will observe that now no value will be accepted by ADS once we delete "Storage Size" field >>
This is not entirely correct. Once you click on the drop down, you can see a place to enter the size. What you are seeing is the result after the conversion.
Can you not see the drop down and the place to enter size as in the attached screenshot?