You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "dwaghulade (via GitHub)" <gi...@apache.org> on 2024/05/06 18:33:11 UTC

[I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

dwaghulade opened a new issue, #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   Project created intially without any data connection is showing in the project list and would like to dlete it however when click on project or setting icon getting error message as "Cannot read properties of null (reading 'id')"
   
   ![image](https://github.com/apache/incubator-devlake/assets/148270787/2df2d147-0e94-4e08-bcac-f2afec100d20)
   
   
   ### What do you expect to happen
   
   Should able to open setting for project so that it can be deleted.
   
   ### How to reproduce
   
   Issue in highlighted project
   
   ![image](https://github.com/apache/incubator-devlake/assets/148270787/ae77418d-6afa-4af7-9cf1-ba488e1c4527)
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v1.0.0-beta6
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "dwaghulade (via GitHub)" <gi...@apache.org>.
dwaghulade commented on issue #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427#issuecomment-2121702663

   @klesh I was avoiding to use direct DB deletion approach because of any dependencies impact. Do you have list of tables from where I need to delete entries to make sure all related data as well deleted for these projects?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "dwaghulade (via GitHub)" <gi...@apache.org>.
dwaghulade commented on issue #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427#issuecomment-2121691362

   Thanks @mintsweet & @klesh for the clarification.
   
   Any way to clean-up existing projects as those are unnecessary being displayed in the list. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "mintsweet (via GitHub)" <gi...@apache.org>.
mintsweet commented on issue #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427#issuecomment-2121656681

   Hi @dwaghulade, I'm so sorry for this issue, but existing data cannot be modified, please create a new project.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427#issuecomment-2121693589

   @dwaghulade try deleting the project from the database.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "ArtRout1313 (via GitHub)" <gi...@apache.org>.
ArtRout1313 commented on issue #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427#issuecomment-2103140781

   Hi everyone.
   
   Faced with the same issue. 
   
   Also noticed, for that new project there is no Blueprint created. And in database tables ‘_devlake_blueprint*’ there are rows filled with ’null’. 
   
   <img width="1264" alt="Screenshot 2024-05-09 at 19 29 03" src="https://github.com/apache/incubator-devlake/assets/141954670/0b334334-2a93-468c-a68a-dcab15a81448">
   <img width="1583" alt="Screenshot 2024-05-09 at 19 29 24" src="https://github.com/apache/incubator-devlake/assets/141954670/c3c0c8cd-13f4-4770-9938-3533beda62af">
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "dwaghulade (via GitHub)" <gi...@apache.org>.
dwaghulade commented on issue #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427#issuecomment-2121722125

   Thanks @klesh for your help. I have removed entries from projects tables which has cleared unwanted projects from the list on UI. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "dwaghulade (via GitHub)" <gi...@apache.org>.
dwaghulade commented on issue #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427#issuecomment-2105333569

   > Config UI
   
   Project created with Config UI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427#issuecomment-2121657867

   @dwaghulade The fix can only prevent the problem for the new projects onward


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "dwaghulade (via GitHub)" <gi...@apache.org>.
dwaghulade commented on issue #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427#issuecomment-2121318718

   Upgraded to v1.0.0-beta8 however issue still persist.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427#issuecomment-2128769987

   Glad to know, close the issue  now


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427#issuecomment-2097364507

   How did you create the project, by API or Config UI?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #7427:
URL: https://github.com/apache/incubator-devlake/issues/7427#issuecomment-2121716136

   @dwaghulade I assumed that the problematic project has never been actually used, correct? you may delete it from the `projects` table if so.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug][Projects] Cannot read properties of null (reading 'id') [incubator-devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh closed issue #7427: [Bug][Projects] Cannot read properties of null (reading 'id')
URL: https://github.com/apache/incubator-devlake/issues/7427


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org