[SERVER-12944] validateUpdate ns Created: 27/Feb/14  Updated: 10/Dec/14  Resolved: 27/Feb/14

Status: Closed
Project: Core Server
Component/s: Build, Internal Client
Affects Version/s: 2.4.9
Fix Version/s: None

Type: Bug Priority: Critical - P2
Reporter: Dr. Walter Robert Ditzler Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: crash, pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-4558 namespace validation on insert uses s... Backlog
Operating System: ALL
Steps To Reproduce:

For ex: "com.abbeoo.sw.model.system.windows" is my namespace and Font is my class. I will use then "com.abbeoo.sw.model.system.windows.Font" for the collection name, which is declined by default from MongoDB.

I put critical because i haven't found anywhere a note, telling me that this keyword ".system." instr is a reserved word!

1) should i change my namespace?
2) shoud i change the source code and recompile it (any dox how to do it)?
3) will MongoDB consider that as a change request and when?

many thanks

Walter.

Participants:

 Description   

Hi

I refer to source code "https://github.com/mongodb/mongo/blob/master/src/mongo/db/ops/update.cpp#L1337" and have to following question:

it took me 4 days knowing that classes with a name, containing .system. are not allowed, which makes actually no sense o me, except i would pull a class with a name "system only to the MongoDB.


Generated at Thu Feb 08 03:30:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.