Open cryptomilk opened 7 years ago
Hi @cryptomilk and thanks for the report!
Looks like your issue descriptions are pretty long and we're not doing any shortening and very little sanitization to the description before using it to check for existing (duplicate) entries using maniphest.query
.
We've had trouble making maniphest.query
actually find tasks based on chunks of the original description because it doesn't do fuzzy search, that's why simply shortening the description to a kb here is not an option.
We should migrate to maniphest.search anyway and see if we can use attributes other than the title and description to match against existing items.
Wouldn't be matching by title, reporter and assignee be enough?
Yes, that's what I had in mind for the new maniphest.search
request.
I've started this morning and will try to finish tonight.
The tests are broken now and it will take me a while to fix those for lack of time, but your case should be solved in release 0.4.1 now. Please let me know if it works or if you still encounter the same – or other – problems.
Sorry, I had vacation last week.
PHP Fatal error: 'continue' not in the 'loop' or 'switch' context in /home/asn/tmp/remaim/src/Journal.php on line 47
Should be return "" ??
We're in the middle of moving offices… but you're right, it should be a return. That happens when you refactor without fixing your tests too.
However, I've replaced it with 'return ""' and then the migration worked just fine! Thanks for you help!
Branch or version of remaim used
I'm trying to migrate: https://red.libssh.org/ to https://bugs.libssh.org and get the following error: