Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13682

NumberLong can't be created from NumberLong/Int

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: JavaScript, Shell
    • Labels:
      None
    • ALL

      > NumberLong( NumberLong(1) );
      2014-04-22T16:27:57.206-0400 Error: could not convert "NumberLong(1)" to NumberLong
      > NumberLong( NumberInt(1) );
      2014-04-22T16:27:57.206-0400 Error: could not convert "NumberInt(1)" to NumberLong
      

      NumberInt works with itself... and NumberLong.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: