Why don't I receive new comments to my e-mail?
CmsObject.accessReadVisible(CmsResource resource) throws Exception
 in any non-Online project
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Content Management System > CmsObject.accessRead­Visible(CmsResource resource) throws Exception in any non-Online project 9 May 2003 17:19:25

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

CmsObject.accessRead­Visible(CmsResource resource) throws Exception in any non-Online project

Thomas Mrz 9 May 2003 17:19:25
 Hello,

I want to show in the PictureBrowser only folder that are visible to the
current User. But the method does not return the wanted results.

E. g. it does not return true for a non-Admin User when the Guest User
has set only the v-flag. Also it throws an Exception when I use the
method in a non-Online project (but the folder is in the Project).

What does "If the resource is in the project you never have to
fallback." mean?

What would be the best work-around not using this method.

Part of the exception:

com.opencms.core.Cm­sException: 0 Unknown exception. Detailed error:
[com.opencms.file.mySql.CmsDbAccess].
root cause was com.opencms.core.Cm­sException: 2 Not found. Detailed
error: [com.opencms.file.mySql.CmsDbAccess] 12.
at
com.opencms.file.ge­nericSql.CmsDbAccess­.readProject(CmsDbAc­cess.java:8762)
at
com.opencms.file.ge­nericSql.CmsResource­Broker.readProject(C­msResourceBroker.jav­a:5987)
at
com.opencms.file.ge­nericSql.CmsResource­Broker.accessProject­(CmsResourceBroker.j­ava:429)
at
com.opencms.file.ge­nericSql.CmsResource­Broker.accessReadVis­ible(CmsResourceBrok­er.java:8307)
at
com.opencms.file.Cm­sObject.accessReadVi­sible(CmsObject.java­:4277)


Best regards,
Thomas Maerz
___________________­____________________­________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms­.org/mailman/listinf­o/opencms-dev

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Content Management System > CmsObject.accessRead­Visible(CmsResource resource) throws Exception in any non-Online project 9 May 2003 17:19:25

see also:
Tnsnames.ora - Strange Connectivity…
Web Host With Oracle XE and ASP.NET 2.0
The all-sides brickable Oracle claimed…
пройди тесты:
Do you know women?
see also:
Hi Help
Hello, guys! The King's Joker is with…
HACKING

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .