Copying a community post fails

Issue #1923 closed
Thomas Niebler created an issue

If you try to copy a community post via the post buttons on http://www.bibsonomy.org/discussed, the procedure fails. However, if you select the post first and THEN copy it, everything is fine. Please make sure that the buttons work correctly.

Comments (14)

  1. Daniel Zoller
    • changed status to open

    It is a not so good heuristic to use in all cases the inter hash. In the worst case the user copies a post he does not want to copy. Please fix this.

  2. Daniel Zoller

    Yes, but without a username, hence you copy the community post on the community post site. You modified the general action tagx file which is also used on all other sites, e.g. http://www.biblicious.org. Using the interhash in this case with the username can result in copying the wrong post from the user (assumed the user has two post with the same interhash). Actually the logic will no longer find anything because the intrahash does not equal the interhash, and the user does not have any post with the interhash as intrahash.

  3. Daniel Zoller

    Because the interhash (without username) uniquely identifies a community post by convention and the username and intrahash combo a normal post.

    In the action tagx you must check if the post is a community entry. In this case use the interhash only, otherwise the intrahash and username.

  4. Stephan Doerfel
    • changed status to open

    Does not work with bookmarks of community posts. Please add the appropriate behavior for bookmarks too. Currently, an exception Internal Server Error: java.lang.RuntimeException: SimHash 2 doesn't exist is thrown.

  5. Former user Account Deleted

    This does not depend on using either interhash or intrahash. Same exception is thrown at bibsonomy.org copying a community post, still using the intrahash.

    → See Issue #1964.

  6. Log in to comment