Bug: Renaming a topic, with a name already in use, generates error in admin
  • Hi:

    When you rename a topic, but the name is already in use, when clicking on Save button you have:

    The topic name is already in use by another topic.

    Then if you clic on OK button (to get back to topics main page) You get an error page:

    Not Found

    The requested URL /admin/topics/edit.php?f_topic_language_id=13&f_topic_edit_id=8 was not found on this server.



    UPDATE:
    There's an error in line 70 in do_edit.php

    It says:
        <INPUT TYPE="button" class="button" NAME="OK" VALUE="<?php  putGS('OK'); ?>" ONCLICK="location.href='/admin/topics/edit.php?f_topic_language_id=<?php p($f_topic_language_id); ?>&f_topic_edit_id=<?php  p($f_topic_edit_id); ?>'">
       
    The red highlight should be: do_edit.php

    That solves the problem stated above, but on the next page you get:

    Error Invalid security token

    (The url is: /admin/ad.php?ADReason=Invalid+security+token!)

    If you click on OK button, you get:

    "Expired Document etc etc"

    So you have to manually get back to /admin


    Thank you
    Post edited by Oscar at 2012-11-30 18:44:25
  • 1 Comment sorted by
  • Thanks for this Oscar, a ticket has been created accordingly http://dev.sourcefabric.org/browse/CS-4521
    Fix should be available in one of the next releases.


    All Best,