Cannot delete pages starting with number | Community
Skip to main content
October 16, 2015
Solved

Cannot delete pages starting with number

  • October 16, 2015
  • 4 replies
  • 1339 views

Hi,

CQ 5.6 is allowing to create page starting with number such as 1234abc.html, but we are not able to delete the page. Is there hotfix available for this issue?

-Punit Jindal

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Bahar

Alex_Popov wrote...

Hello,

Could you please provide more details?

You can use http://jackrabbit.apache.org/api/2.0/org/apache/jackrabbit/util/ISO9075.html#encodePath%28java.lang.String%29 to encode your path which starts with numbers.

 

I guess if you are able to rename file with move command to files which hasn't number or not start with number. Then you should be able to delete it easily.

4 replies

vikramca06
Level 4
October 16, 2015

Hi,

I tried the same in 5.6 i'm able to delete it successfully.

There might be some other issue.

Please include the complete error log, which you get when trying to delete the page.

Level 4
October 16, 2015

Hello,

Could you please provide more details?

You can use http://jackrabbit.apache.org/api/2.0/org/apache/jackrabbit/util/ISO9075.html#encodePath%28java.lang.String%29 to encode your path which starts with numbers.

BaharAccepted solution
Level 3
October 16, 2015

Alex_Popov wrote...

Hello,

Could you please provide more details?

You can use http://jackrabbit.apache.org/api/2.0/org/apache/jackrabbit/util/ISO9075.html#encodePath%28java.lang.String%29 to encode your path which starts with numbers.

 

I guess if you are able to rename file with move command to files which hasn't number or not start with number. Then you should be able to delete it easily.

October 16, 2015

Hi Alex,

From siteadmin I can add a page say, /content/{site_name}/us/en/member/1234asd. After adding when I try to delete the page from siteadmin using delete button, I get a error message Error while deleting: /content/{site_name}/us/en/member/1234asd

This works fine when page name doesnt start with a number.