Everytime a link is submitted or edited by admin, the link becomes unvalidated. I checked the admin usergroup, settings are fine, no validation is required for the usergroup. Also, the main WSN admin panel tells me that I have a pending validation, but when I click on it, the page shows no links to be validated.
Checked again in the DB. I have links, which are also aliased into another category. Whenever I edit the link, the alias link in the DB literally gets deleted, and a brand new alias link is created, which is unvalidated... This is a whole new kind of error, that I have never seen.
Did this help tracking this down? Should I send you Admin access?
My sincere apologies. I set to bypass redirects, so I couldn't grab the debug info for a link edit. I attached the debug info, because it is a bit long (this is a real estate site with a ton of property attributes).
You see, it does delete my aliased link and creates a new one...
No luck in 5.0.9. Still doing the same thing... I was about to launch with 5.0.3, then I upgraded, now I can't revert because of all the other things I changed.
Can you look into this issue a little more please, as anything that is aliased, doesn't get automatically validated when I submit the link or edit it.
Also, curious... Why is a link re-created when aliased??? What if I link (send it's url to a friend) to a link? Since the link's ID now changed (because it was automatically re-created for some reason), I know will have a 404 instead of the link???
I haven't released anything since my last post, and I don't have a time machine. Releases are approximately weekly.
Since the link's ID now changed (because it was automatically re-created for some reason), I know will have a 404 instead of the link???
Hadn't considered that. Will rewrite the whole alias system to something more complicated that can maintain existing ids for already-present alias categories when I get a chance.
I attached my link edit template (customlinks included).
When I change the alias of a link, it 1. creates a new link in the database 2. doesn't delete the old alias or makes it hidden or anything 3. doesn't show both aliases in the dropdown selector when editing the same link again
All I want, is for a link to properly reflect where it is aliased. If I deselect something on the alias list in the editlink page, that link should not show up in the old aliased category. But it still does, and when I try to edit the link, the alias dropdown (multiselect) has only the latest alias selected which I added to the link.
Am I missing something? What is causing the aliasids[] form field to NOT select all categories in which the link is aliased in?
I'll try using your template again, that came with 5.0.12, to see if the alias function works on there, or it just doesn't work on my edit link template.
I edited link #217, which is not alised anywhere. I added it to category 88. It created a new alias link in the DB, with id 223. So far so good.
See debug 1.txt for output after submission of the edit form.
2. I edited the same link 217. The alias was properly selected in the alias multiselect dropdown. I selected ONLY A SINGLE alias category from the alias list now, namely category 41. Category 88 WAS NOT selected in this multiselect dropdown. For testing purposes, I also changed the link's description to 'test2'.
See debug 2.txt for the output after submission of the edit form.
Alias link 223 that was created in the first step, stayed in the DB. Alias link 224 was now created in the DB for category 41. All 3 links in the DB had their description changed to 'test2' (this is to prove it touched all 3 links). THIS IS NOT AN ERROR, I think.
3. I edited the original link 217. Both aliases were properly pre-selected in the form when I loaded the edit template. I now DESELECTED category 41 (which I selected in test 2), so that only category 88 was highlighted in the alias dropdown. For testing purposes, I also changed the link's description to 'test3'.
See debug 3.txt for the output after submission of the edit form.
Alias link 223 that was created in the first step, stayed in the DB. Alias link 224 that was created in the second step, stayed in the DB. All 3 links in the DB had their description changed to 'test3' (this is to prove it touched all 3 links). THE ERROR REMAINED HERE! When I go back to edit the same link 217, it has BOTH aliases pre-selected, even though it should now only have category 88 selected.
Not sure what else you need me to test, but that's as basic as the edit can get I think. Please look into this.
Comments on links become unvalidated
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Everytime a link is submitted or edited by admin, the link becomes unvalidated. I checked the admin usergroup, settings are fine, no validation is required for the usergroup. Also, the main WSN admin panel tells me that I have a pending validation, but when I click on it, the page shows no links to be validated.
David
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Can't reproduce, I need some sort of procedure
Also, the main WSN admin panel tells me that I have a pending validation, but when I click on it, the page shows no links to be validated.
This is known and discussed in another thread.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Checked again in the DB. I have links, which are also aliased into another category. Whenever I edit the link, the alias link in the DB literally gets deleted, and a brand new alias link is created, which is unvalidated... This is a whole new kind of error, that I have never seen.
Did this help tracking this down? Should I send you Admin access?
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Ok, so then tell me how I can create debug info for the moment when a link is created/edited, so you can see what's happening.
Thanks
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
My sincere apologies. I set to bypass redirects, so I couldn't grab the debug info for a link edit. I attached the debug info, because it is a bit long (this is a real estate site with a ton of property attributes).
You see, it does delete my aliased link and creates a new one...
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Fixed. Deletion and recreation is normal and good, problem is it wasn't keeping the validated value.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Hi Paul,
No luck in 5.0.9. Still doing the same thing... I was about to launch with 5.0.3, then I upgraded, now I can't revert because of all the other things I changed.
Can you look into this issue a little more please, as anything that is aliased, doesn't get automatically validated when I submit the link or edit it.
Thanks
David
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Also, curious... Why is a link re-created when aliased??? What if I link (send it's url to a friend) to a link? Since the link's ID now changed (because it was automatically re-created for some reason), I know will have a 404 instead of the link???
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I haven't released anything since my last post, and I don't have a time machine. Releases are approximately weekly.
Since the link's ID now changed (because it was automatically re-created for some reason), I know will have a 404 instead of the link???
Hadn't considered that. Will rewrite the whole alias system to something more complicated that can maintain existing ids for already-present alias categories when I get a chance.
Edit: done.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
I thought I saw something in the changelog regarding this. Never mind.
Ok, so how can I have a single link appear in 2 categories, in a way that when I edit the link, it's ID doesn't change?
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Hi Paul,
I posted a reply regarding this:
www.webmastersite.net/forum...id=8442&page=last#lastpost
Thanks
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Still having issues in 5.0.12
I attached my link edit template (customlinks included).
When I change the alias of a link, it
1. creates a new link in the database
2. doesn't delete the old alias or makes it hidden or anything
3. doesn't show both aliases in the dropdown selector when editing the same link again
All I want, is for a link to properly reflect where it is aliased. If I deselect something on the alias list in the editlink page, that link should not show up in the old aliased category. But it still does, and when I try to edit the link, the alias dropdown (multiselect) has only the latest alias selected which I added to the link.
Am I missing something? What is causing the aliasids[] form field to NOT select all categories in which the link is aliased in?
Thanks
David
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Ok, so how can I have a single link appear in 2 categories, in a way that when I edit the link, it's ID doesn't change?
It just doesn't. Fully tested. No matter how many times I change aliasing, the ids of the aliases don't change.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Hi Paul,
I'll try using your template again, that came with 5.0.12, to see if the alias function works on there, or it just doesn't work on my edit link template.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Here is the test that still produced the same results:
1. Here is a custom link edit form (copied from 5.0.12 template):
I edited link #217, which is not alised anywhere. I added it to category 88. It created a new alias link in the DB, with id 223. So far so good.
See debug 1.txt for output after submission of the edit form.
2. I edited the same link 217. The alias was properly selected in the alias multiselect dropdown. I selected ONLY A SINGLE alias category from the alias list now, namely category 41. Category 88 WAS NOT selected in this multiselect dropdown. For testing purposes, I also changed the link's description to 'test2'.
See debug 2.txt for the output after submission of the edit form.
Alias link 223 that was created in the first step, stayed in the DB.
Alias link 224 was now created in the DB for category 41.
All 3 links in the DB had their description changed to 'test2' (this is to prove it touched all 3 links).
THIS IS NOT AN ERROR, I think.
3. I edited the original link 217. Both aliases were properly pre-selected in the form when I loaded the edit template. I now DESELECTED category 41 (which I selected in test 2), so that only category 88 was highlighted in the alias dropdown. For testing purposes, I also changed the link's description to 'test3'.
See debug 3.txt for the output after submission of the edit form.
Alias link 223 that was created in the first step, stayed in the DB.
Alias link 224 that was created in the second step, stayed in the DB.
All 3 links in the DB had their description changed to 'test3' (this is to prove it touched all 3 links).
THE ERROR REMAINED HERE! When I go back to edit the same link 217, it has BOTH aliases pre-selected, even though it should now only have category 88 selected.
Not sure what else you need me to test, but that's as basic as the edit can get I think. Please look into this.
Thanks
David
Attached Files: