Skip to content

In Basic Mode, Deleting a Class from VSCode leads to 'File changed by: Undefined' in Workspace #729

Closed
@isc-npetroce

Description

@isc-npetroce

Discovered in our HCC test environment.

Steps to reproduce: delete class from VSCode while connected to namespace in basic mode.

This bug causes Sync to not work, as Sync will only commit changes credited to you. This can be worked around by committing from the git workspace UI and running Sync after that.

It is possible this is related to permissions/privileges, as the following error appeared in the VSCode logs:

Deleting class HCC.Something.WithA.Really.Long.Foo

/data/db/mgr/repo/NPETROCE/src/HCC/Something/WithA/Really/Long/Foo.cls for HCC.Something.WithA.Really.Long.Foo.CLS deleted

Executing Studio Action "Opened Document" on iris.krra298jtfz6.sandbox-eng-paas.isccloud.io:443[NPETROCE] failed with the following error:

  

ERROR #5540: SQLCODE: -99 Message: User npetroce2 is not privileged for the operation [e^%Next+7^%sqlcq.NPETROCE.cls22.1^6 e^AppendResultSet+35^%Api.Atelier.v6.1^1 e^Query+46^%Api.Atelier.v6.1^1 e^DispatchRequest+23^%CSP.REST.1^1 e^Page+26^%CSP.REST.1^1 e^zPage+2^%Atelier.REST.1^1 e^CSPDispatch+503^%SYS.cspServer^2 d^CSPDispatch+280^%SYS.cspServer^1 d^ProcessRequest+1^%CSP.Session.1^1 d^Request+683^%SYS.cspServer2^1 d^Request+25^%SYS.cspServer2^1 d^ProcessRequest+1^%CSP.Request.1^1 d^css+21^%SYS.cspServer2^1 d^Server+64^%SYS.SERVER^2 d^^^0:NPETROCE]

This is despite my account having %Developer and %DB on the relevant namespaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions