Skip to content

[ProjectHelper] Bug on Remove-ProjectItemDirect #142

Description

@rulasg
[github#9279 ] /Users/rulasg
> $url | aspi | Remove-ProjectItemDirect                                                                                          Exception: /Users/rulasg/code/ProjectHelper/private/projectDatabase/project_database.ps1:133
Line |
 133 |              throw "The database has changed since it was read. Aborti 
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The database has changed since it was read. Aborting save to prevent overwriting changes.
[github#9279 ] /Users/rulasg
> $url | aspi | Remove-ProjectItemDirect
Exception: /Users/rulasg/code/ProjectHelper/private/projectDatabase/project_database.ps1:133
Line |
 133 |              throw "The database has changed since it was read. Aborti 
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The database has changed since it was read. Aborting save to prevent overwriting changes.
[github#9279 ] /Users/rulasg
> Remove-ProjectItemDirect $itemId      
Error: RESPONSE Type[NOT_FOUND] Could not resolve to a node with the global id of 'PVTI_lADNJr_OADU3Ys4Hu1VW'.
Error: Some issue removing [PVTI_lADNJr_OADU3Ys4Hu1VW] from project
[github#9279 ] /Users/rulasg
> $itemId                                                                                
PVTI_lADNJr_OADU3Ys4Hu1VW
[github#9279 ] /Users/rulasg
> $url | aspi 
PVTI_lADNJr_OADU3Ys4Hu1WO
[github#9279 ] /Users/rulasg
> remove-ProjectItemDirect PVTI_lADNJr_OADU3Ys4Hu1WO
PVTI_lADNJr_OADU3Ys4Hu1WO

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions