Welcome Guest, Not a member yet? Register   Sign In
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS

[eluser]ray73864[/eluser]
[quote author="Phil Sturgeon" date="1253163298"]

[quote author="ray73864" date="1253156790"]The validation on the 'new page' thing works good, the 'slug' section doesn't like having .html on the end, it says 'invalid characters' or something, and then what appears in the 'tinymce editor box' is '
Code:
<p>this is a test page</p>
', when i view the new page, instead of showing correctly, it shows '
Code:
<p>this is a test page</p>
' instead of showing 'this is a test page'[/quote]

Looks alright here on Firefox 3.5 Mac. What are you testing in? There was an issue similar to this which should have been fixed in this commit.[/quote]

if you look at the 'test' page on hXXt://pharmacy.rayherring.net/ you will see what i mean.

I am running the latest commit that you had put up on github.

The test case for this is:

Quote: 1. click on the 'pages' module in the control panel
2. click on 'new page'
3. in the 'title' box put something like 'test'
4. in the 'slug' box put something like 'test.html'
5. set the 'parent' to whatever you want
6. put something in the tinymce editor box, such as 'this is a test'
7. click on 'save'
8. the validation runs and the 'new page' re-appears with the following message:
Quote: Required field missing

The Slug field may only contain alpha-numeric characters, underscores, and dashes.
9. take a look at the tinymce editor box, it should now have:
Code:
<p>this is a test</p>
10. change the 'slug' to be 'test' (without the .html)
11. click on 'save'
12. it saves the page
13. go to view your page on the main site. eg: /test and you should see the following:
Quote: Home :: Test

test

Code:
<p>this is a test</p>

Had to put a 'code' box in because the forum was converting the 'p' tag.

14. that's all the steps to reproduce.

I managed to get this to repeat on several occasions, currently using the following build:

Quote:http://github.com/philsturgeon/pyrocms/c...228535476a

Oh, and i am using Firefox 3.5 on Windows 7, but the problem happens on Vista and XP too using FF3.5


Messages In This Thread
PyroCMS v0.9.7.4 - an open-source modular general purpose CMS - by El Forum - 09-16-2009, 06:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB