create account

RE: utils.is_comment() should not rely on "re-" in permlink, giving wrong Blog().take() results by justyy

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @stmdev/utils-iscomment-should-not-rely-on-re-in-permlink

· @justyy ·
$1.91
Thank you,  I can confirm this is a potential problem. I thought all comments permlink start with `re` so the question is how do you get the comment without `re` in the first place?

----------------------------------------------------------------------
Need help? Write a ticket on https://support.utopian.io.
Chat with us on [Discord](https://discord.gg/uTyJkNm).

**[[utopian-moderator]](https://utopian.io/moderators)**
👍  , , , , , ,
properties (23)
authorjustyy
permlinkre-stmdev-utils-iscomment-should-not-rely-on-re-in-permlink-20180429t102559495z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-04-29 10:26:06
last_update2018-04-29 10:26:06
depth1
children3
last_payout2018-05-06 10:26:06
cashout_time1969-12-31 23:59:59
total_payout_value1.910 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length423
author_reputation280,616,224,641,976
root_title"utils.is_comment() should not rely on "re-" in permlink, giving wrong Blog().take() results"
beneficiaries
0.
accountutopian.pay
weight1,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id52,803,085
net_rshares470,845,423,441
author_curate_reward""
vote details (7)
@stmdev ·
You can set any permlink for replies as long as `parent_author` and `parent_perlink` point to the according parent. See [the example comment](https://steemit.com/python/@stmdev/lorem-ipsum-dolor-sit-amet) for code how to achieve that with steem-python.
properties (22)
authorstmdev
permlinkre-justyy-re-stmdev-utils-iscomment-should-not-rely-on-re-in-permlink-20180429t103746438z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-04-29 10:37:45
last_update2018-04-29 10:37:45
depth2
children1
last_payout2018-05-06 10:37:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length252
author_reputation10,427,398,400,460
root_title"utils.is_comment() should not rely on "re-" in permlink, giving wrong Blog().take() results"
beneficiaries
0.
accountutopian.pay
weight1,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id52,804,583
net_rshares0
@justyy ·
$0.06
Ok, i see, only programatically.  luckily the comments are following re- patterns if you are using busy.org or steemit.com
👍  , , , ,
properties (23)
authorjustyy
permlinkre-stmdev-re-justyy-re-stmdev-utils-iscomment-should-not-rely-on-re-in-permlink-20180429t153047190z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-04-29 15:30:48
last_update2018-04-29 15:30:48
depth3
children0
last_payout2018-05-06 15:30:48
cashout_time1969-12-31 23:59:59
total_payout_value0.062 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length122
author_reputation280,616,224,641,976
root_title"utils.is_comment() should not rely on "re-" in permlink, giving wrong Blog().take() results"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id52,850,877
net_rshares10,387,523,322
author_curate_reward""
vote details (5)
@utopian.tip ·
Hey @justyy, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!
properties (22)
authorutopian.tip
permlinkre-re-stmdev-utils-iscomment-should-not-rely-on-re-in-permlink-20180429t102559495z-20180429t232032
categoryutopian-io
json_metadata""
created2018-04-29 23:20:33
last_update2018-04-29 23:20:33
depth2
children0
last_payout2018-05-06 23:20:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length156
author_reputation238,310,597,885
root_title"utils.is_comment() should not rely on "re-" in permlink, giving wrong Blog().take() results"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id52,917,490
net_rshares0