Skip to content

[ProjectHelper] Bug on Remove-ProjectItemDirect #142

@rulasg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions