kinyelo / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
1 stars 2 forks source link

Content-Pages ERROR #325

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. To modify the title field of the content "Home page"
2. Error Alert! Can't connect to server. java.lang.NullPointerException at 
org.vosao.service.back.impl.PageServiceImpl.sortTree(PageServiceImpl.java 490 
undefined

Original issue reported on code.google.com by jjmere...@gmail.com on 26 Aug 2010 at 5:07

Attachments:

GoogleCodeExporter commented 9 years ago
Please provide Vosao and Browser version info. I was unable to reproduce this 
problem on http://vosaocms.appspot.com in Chrome.

Original comment by kinyelo@gmail.com on 28 Aug 2010 at 10:23

GoogleCodeExporter commented 9 years ago
Vosao CSM 0.7. To reproduce this problem is very easy.

1.- Change the page title of the content "Home Page" to "Home"
2.- It´s will create a new content, "Home" as children of main content "Home 
Page"
3.- Delete the last created content, "Home"·.
4.- Now, try to change the  the page title of the content "Home Page" again and 
you will see this error "Alert! Can't connect to server. 
java.lang.NullPointerException at 
org.vosao.service.back.impl.PageServiceImpl.sortTree(PageServiceImpl.java 490 
undefined"

Finally, this error won´t  let you to work in the content section because the 
tree content is not shown

Original comment by jjmere...@gmail.com on 30 Aug 2010 at 8:22

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, I forgot to point out that after to do reproduce this error the portal 
is OFFLINE and  inaccesible to the users

Original comment by jjmere...@gmail.com on 30 Aug 2010 at 8:31

Attachments:

GoogleCodeExporter commented 9 years ago
@kinyelo, I have just to reproduce this problem on http://vosaocms.appspot.com. 
Check it!

Original comment by jjmere...@gmail.com on 30 Aug 2010 at 5:07

GoogleCodeExporter commented 9 years ago
Actualally you are getting this error because you have deleted all versions of 
root page. After you have changed title to "Home" it will not create any 
children pages it just saves the content and changes status of the page to 
"Edit".

To fix this issue I think we need to prohibit user from deleting all versions 
of the root page.

Original comment by kinyelo@gmail.com on 30 Aug 2010 at 7:15

GoogleCodeExporter commented 9 years ago

Original comment by kinyelo@gmail.com on 25 Sep 2010 at 9:23

GoogleCodeExporter commented 9 years ago

Original comment by kinyelo@gmail.com on 21 Nov 2010 at 11:10

GoogleCodeExporter commented 9 years ago
Issue 390 has been merged into this issue.

Original comment by kinyelo@gmail.com on 13 Feb 2011 at 9:53